This project is read-only.

Designer Actions- Create Site in SP2010

Sep 15, 2010 at 10:15 PM

Hey guys,

Has anyone tried created a site using the custom action in SharePoint 2010 yet?  I have everything properly installed and can enter my values in the activity, however, I'm curious since SP2010 now uses .wsp instead of .stp for the site templates, if that's throwing an error.

I've tried every common sense approach to solve this with no success.  Obviously .wsp isn't just for the site templates, but rather a custom solution extension.

Any help would be greatly appreciated!

Sep 16, 2010 at 4:31 AM

I am having the same issue. Can anyone please help?

Nov 15, 2010 at 5:26 AM
Edited Nov 15, 2010 at 5:30 AM

Not sure if anyone is still monitoring this thread but i have found a solution to using the site creation activity with SP2010. You need to get the internal name for the site template. (Credit to:


To get Name of the existing site template follow the below steps

1. Save a Site as a Template.

2. Go to Site settings –> sites & workspaces –> create.

3. IE Tools > Developer Tools > Find > Select Element By Click > View > Source > DOM (Element) > Highlight and copy the section
<OPTION value=”{D120C236-16AC-49D0-2278-F2283F0FD521}#sitename">test</OPTION> . The one in bold will be your site template name.


Then use the name as the site template name in your workflow and the iLoveSP action will work





Nov 15, 2010 at 7:22 PM


use PowerShell:

(get-SPWeb http://server/sites/a).GetAvailableWebTemplates(1033)

Bye Christian

Nov 15, 2010 at 11:18 PM

Thanks Christian


I have also had a look at your latest check in, looking good, keep up the fantastic work.


i have a couple of suggestions ill add, not sure where to add them. I am adding an option to inherit the toplink bar from the parent web also

        public bool InheritTopLinkBar
            get { return (bool)GetValue(InheritTopLinkBarProperty); }
            set { SetValue(InheritTopLinkBarProperty, value); }

        public static readonly DependencyProperty InheritTopLinkBarProperty =
           DependencyProperty.Register("InheritTopLinkBar", typeof(bool), typeof(CreateSiteActivity));

  newWeb.Navigation.UseShared = InheritTopLinkBar;




Nov 28, 2010 at 9:18 AM

Hi Tristan,

Any help would be appreciated. You’re welcome to join the project if you want.

I’ve already a version of SPD actions for SP2010, but not enough time to finish and publish.

Bye, Christian

Nov 28, 2010 at 4:10 PM

Hi Christian,

Wondering if you have included the powershell activity in your SPD actions?

Also, If you would like some help in testing I would be happy to help.

Best Regards,




Jul 31, 2012 at 9:56 AM

using custom template name in following format also not working,



if any one has found the solution please share.

Jul 31, 2012 at 9:56 AM
Edited Jul 31, 2012 at 10:48 AM

Hi all,
If you have custom template and want to create site using I love SP,
specify template as {guid}#siteTemplatename

you need to get the guid of the template from using the following powershell script,
Get-SPWeb http://sps2010:007/Codeplex | %{$_.GetAvailableWebTemplates($_.Language)} | fl *

Custom template will appear at the end of the result...

If you properly check this GUID it is different than that which you see in solution gallery..