blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Paul Galvin's Blog

Create Sites (SPWeb) via SharePoint Designer Workflow

This blog entry is more of an "in the real of the possible" entry vs. concrete info.

We have a technical design that calls for us to create a site in a site collection via a manually launched workflow process.  Basically, users enter data into a "new customer" custom list and then when they have finished and validated the data entry process, we need to create a site for that customer.

I'm both a big fan of declarative workflow as well as a weak visual studio workflow programmer, so I wanted to meet the requirement using SharePoint Designer.

I plan to write about this in greater detail (and hopefully present to a user group or two in the coming year), but here's the overall solution:

  • Create a custom action that integrates with SPD.
  • The custom action allows SPD to invoke a web service and pass it a string of XML.
  • Web service locates the row in the custom list and creates a new site as per the data for that new client using a custom site definition.
  • Web service then updates the custom list with some information such as a link to the new site.

We considered other approaches, such as event handlers and visual studio based workflow.  The SPD approach gives our end users a little more control over the process.  Granted, there's a lot of C# code in this solution, but it's wrapped inside a declarative workflow, so we get some of the benefits of declarative workflow while hooking into the site-creation service.

All we need now is an easy tool to automatically migrate SPD workflows around as easily as we can for visual studio workflows and we'll really be cooking with gas :)  I understand that some folk are out there working on this problem and I hope they have some good success with it soon.

</end>

 Subscribe to my blog.

Technorati Tags: ,
Published 13 March 2008 07:37 by paul.galvin

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

bob.barnes said:

Interesting  - went to a session by Ed Hild of Microsoft at last weeks SharePoint conference, that talked about this topic - so take a look at http://blogs.msdn.com/edhild/pages/using-oob-workflows-to-provision-sites.aspx  and also

http://blogs.msdn.com/edhild/archive/2007/03/03/how-to-create-a-site-collection-in-a-workflow.aspx

Cheers

March 14, 2008 11:10
 

Data Entry Service said:

<a href="http://www.vinrcorp.com/">Data Entry Service</a>- Vinr Corp provides Outsourcing data entry work. We are specialists in data entry services and data processing service. If you would like to concentrate on your core processes, then Outsourcing data entry work is a wise and profitable option.

April 10, 2008 08:01
 

sharepoint declarative workflow said:

July 15, 2008 23:19

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems