Feb 19, 2011

Create Site Action (Advanced SharePoint Designer 2010 Workflow Actions)

The first action I would like to introduce is the “Create a Site” workflow action. With this action you can create SharePoint sites via SharePoint Designer Workflows. The action and the source can be downloaded here.

Add the “Create a Site” action to a SharePoint 2010 Designer Workflow



URL: The url of the web site. You could either use an relative url to create the site direct under the current site or an absolute url to create the site under any site. The workflow initiator needs appropriate permissions. Or you can use an impersonation step to run the action under the permissions of the workflow author.
Title: Title of the site
Description: Description of the site
Template: Template name of the new site. Default is Team Site (STS#0).
You can get a list of all farm templates with the PowerShell command “Get-SPWebTemplates”.
To get a list of templates from a specific site’s template catalog use the following PowerShell command:
Get-SPWeb http://contoso/sites/spd | %{$_.GetAvailableWebTemplates($_.Language)}
Use the name of the template e.g. WIKI#0
Language Code: The language code for the new site e.g. 1033 for English or 1031 for German. 0 means inherit the language from the parent site.
Inherit Permission: Inherit permissions from the parent site.
Inherit Top Navigation: Use the  same top navigation as the parent site.
Output: Returns the absolute url of the new site


Publish and run the workflow…

Wiki Documentaion


Anders said...

Just what i needed, tnx alot. The entire solution is awesome. Tried to make my own "Create Site from template" workflow in VS 2010, but im not a decent programmer and I failed hehe. You are using a Activity Library? Sry if its a stupid qusetion, but im very intersting learning how its done, still on uni and I have a project about SP2010.

Christian said...

Anders, sorry I'm a little bit late. Active Library? No, just take a look in the my source code that is available on CodePlex.
Bye, Christian

محمّد سددقالی . سوفٹوارے ڈولوپر said...

Hi ,
I have been looking for this to complete my task form last couple of days .Then Yesterday i did in visual studio.This i install for all web-applications in sharepoint and it's awesome.Request you to mail me to mdsiddiqali@hotmail.com .I want to know more about this kind of wsp files .Hope you respond to me.
Quality Communication Provides
Quality Work.
Mohammad Siddiqali.

Michele said...

Thanks for the feature... this is exactly what I was looking for. I'm having an issue though. I had no problems installing the feature and activating it. The issue I'm having is after creating a workflow that uses the "create site" action, I receive no error, the workflow says it completed but the site is never created. Where are the errors logged so I can see what is going on? Thanks!

Christian said...

@michele: Wasn't able to repdoduce the issue. You should find the error in the error variable of the action and in the SharePoint ULS Log.

Stefan said...

Does this cater for using ports? My site didn't want to create so I checked the error output and it said : is an illegal character.

Is there a workaround for this?

Anonymous said...

I am using a custom template and this is what appears in the Name field when listing the templates:

What exactly should be placed in the template field. I tried the whole thing and that fails. Greg

Anonymous said...

This is great. I was doing this as an application page before seeing your example. Just wondering, after the workflow completes, how would I have the workflow navigate to the new provisioned URL?


Anonymous said...

Does this work in Office 365 also?

Christian said...

Because this is not a sandboxed solution it will nor work in SharePoint Online. But I may develop a sanboxed version next week...

Bye, Christian

lovesharepoint said...

Hi Christian can you post me the steps. how to create site on the workflow completed event

Anonymous said...

Tried everything... but no sites gets created...

I am using a custom template and this is what appears in the Name field when listing the templates:

even tried with the default STS#0 template

What exactly should be placed in the template field?

I tried every thing but it fails....

The powershell command update Sharepoint designer command failed with the identifier switch not found - could this be the cause ?

Jeroen said...

do you already have a sandboxed version available?

Anonymous said...

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 list 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..

Gokul Kumar said...


I am very new to sharepoint and designer. I found this very interesting. all I need to do is to create a new site whenever I add a new item to my list. so included the create site action under impersonation step. My workflow status is 'In progress' after I add a line item. Please help

Anonymous said...

Does this work with SharePoint 2013? I do not have the SharePoint 2013 workflow items turned on yet and still running SharePoint 2010 workflows... but when I installed this it never showed up in SPD 2013. So is there a way to get this to work?

electronic signature said...

Excellent! Thanks for this - I've been looking at this feature for ages. Followed your instructions and it works a treat!

maymay said...

Even so, while using some sort of Hulu VPN with omega replica everyone can certainly without difficulty attain appropriate having access to most of these internet websites which enables it to get started making the most of each of the exploding activity to merely exploit. It is by means of in addition to a lot the way you can try enjoying Hulu with Europe or maybe Netflix in great britan. As a way to acquire a omega replica with GREAT BRITAIN the vital thing you have got to complete is usually function a simple on the net try to find companies. After you accomplish this you can be stunned to get we now have basically many like services. At this point you must take the time to help hublot replica contrasting most of these products and services services. Always be certain to totally research every VPN services that you'll be thinking of working with. You should do that to make certain that you are looking for a corporation that's infinite bandwidth and this helps ensure excessive swiftness exploding. On the subject of enjoying Hulu with Europe it is best to maintain using facts as the primary goal. This data possesses helped rolex replica of folks in great britan in addition to with Europe with picking out the perfect VPN service agency there for these individuals. The vital thing you ought to know connected with is usually any type of equipment you happen to be applying to reach Netflix in addition to rolex replica uk. Some people simply want to start using a COMPUTER SYSTEM or maybe MAC to reach most of these internet websites while other people would like to work with the mobile phone devices or maybe game playing programs.

Anh Mai said...

great article, I was very impressed about it, wish you would have stayed next share
Versión en facebook en español descargar a los países hablan Español: facebook entrar direto agora , facebook en español para and facebook entrar direto

Hug Day said...

happy hug day 2016 SMS
hug day 2016 Wishes cards greetings
Hug day Date 2016
hug day sms

风骚达哥 said...

20160423 junda
air jordans
cheap oakley sunglasses
kate spade outlet
adidas stan smith
ray ban sunglasses
michael kors outlet
nike air max shoes
cheap omega watches
yeezy boost 350
michael kors outlet online
michael kors outlet online
nike free runs
air jordan uk
michael kors outlet online
pandora charms
ray ban outlet
calvin klein outlet
fitflops sale clearance
toms outlet
nike huarache white
sac longchamp
toms outlet
michael kors outlet clearance
bottega veneta outlet
armani watches
gucci handbags
nike blazer
oakley sunglasses
true religion jeans
cheap jordans
ray bans
bottega veneta handbags
jimmy choo outlet
oakley sunglasses
prada outlet
reebok shoes
true religion
burberry outlet

Desty Lilian Rosana Putry said...

model meja belajar anak minimalis
warna cat rumah minimalis
model rak tv
model meja makan
taman kolam air
model pintu kamar mandi
model tangga rumah minimalis
warna cat pagar
desain tiang dan keramik teras
kursi sofa ruang tamu minimalis
model tempat tidur bayi
warna cat dapur
model atap rumah minimalis
model plafon minimalis
warna gorden ruang tamu
warna cat rumah tipe 45
model rumah idaman type 36

Libin Huang said...

20160426libinferragamo outlet
pandora outlet
ferragamo shoes
nike air max
ferragamo shoes
hermes belt for sale
michael kors factory outlet
swarovski crystal
ferragamo shoes
michael kors outlet
louis vuitton handbags
louis vuitton handbags outlet
swarovski outlet
beats by dre
cazal outlet
mont blanc pens
longchamp solde
fitflops outlet
cartier sunglasses for men
michael kors outlet
louis vuitton outlet
swarovski crystal
cheap nfl jerseys
adidas outlet store
tory burch outlet
cheap oakley sunglasses
mulberry bags
rolex watches,rolex watches,swiss watches,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex
oakley sunglasses
tory burch outlet
ray ban sunglasses
louis vuitton outlet
polo ralph lauren
michael kors uk
tiffany outlet

Yuanyuan Lin said...

7.14llllllyuan"timberland shoes"
"soccer jerseys wholesale"
"longchamp pliage"
"cheap oakley sunglasses"
"true religion jeans"
"louis vuitton pas cher"
"rolex orologi"
"christian louboutin shoes"
"michael kors clearance"
"cheap nba jerseys"
"oakley sunglasses wholesale"
"tory burch shoes"
"tory burch outlet"
"chicago blackhawks jerseys"
"longchamp outlet"
"omega watches"
"adidas trainers"
"cheap nike shoes"
"nike outlet store online"
"michael kors outlet clearance"
"michael kors uk"
"montblanc pens"
"michael kors canada"
"longchamp handbags"
"ray ban sunglasses"
"abercrombie and fitch"
"mcm outlet"
"puma shoes"
"ralph lauren uk"
"nike air max 90"
"rolex watches,rolex watches,swiss watches,watches for men,watches for women,omega watches,replica watches,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex"
"mulberry outlet"
"air max 90"
"ferragamo outlet"
"christian louboutin outlet"

Fangyaya said...

fitflop sandals
polo ralph lauren outlet
rolex submariner price
michael kors outlet
christian louboutin wedges
ralph lauren polo
louboutin shoes
abercrombie and fitch outlet
coach outlet canada
michael kors outlet
gucci outlet online
cheap louis vuitton handbags
ray bans
cheap oakley sunglasses
copy watches
adidas nmd
michael kors handbags
oakley canada
cheap rolex watches
ray ban sunglasses wholesale
hollister kids
true religion outlet
burberry sale
nfl jerseys
burberry scarf
cheap air jordans
replica watches
coach outlet
oakley sunglasses wholesale
oakley outlet
michael kors uk
ray ban sunglasses
adidas outlet store
rolex watches for sale
cheap oakley sunglasses
adidas originals store
rolex watches
cheap true religion jeans
ralph lauren outlet
kobe 11 shoes

dada24 Xu said...

nmd adidas
oakley vault
cheap uggs
adidas nmd
moncler jackets
michael kors outlet clearance
polo ralph lauren outlet online
michael kors watches
nike flyknit

Paulo said...

In the event that you are beset by a poor FICO score and have the need of vast advance to get you back on your money related feet, you should be placed in contact with a respectable bank willing to make such an advance disregarding your FICO assessment. Payday Loans San-diego

Paulo said...

The Federal Housing Administration offers different sponsored advances with drop up front installment prerequisites to its customer base and these credits are simpler to meet all requirements for. Veteran issues advances likewise permit administration and military staff to get the home advances with simple up front installment. Payday Loans

John said...

cheap rolex watches
hugo boss suits
michael kors uk
michael kors outlet clearance
ugg outlet online
cheap jordan shoes
canada goose jackets uk
yeezy shoes
cheap jerseys wholesale
uggs sale
adidas yeezy boost 350
authentic louis vuitton handbags
ugg canada sale
ugg boots
louis vuitton outlet online
michael kors outlet store
michael kors
ed hardy clothing
ray ban glasses
michael kors
michael kors uk
red bottom shoes
chaussure louboutin
coach factory outlet online
true religion jeans outlet
levi's jeans
ed hardy store

Meiqing Xu said...

ugg boots on sale
converse outlet
rolex daytona
polo ralph lauren outlet online
coach outlet
cheap nfl jerseys
timberland boots outlet
rolex watches
true religion jeans
gucci outlet

kelinci said...

great thanks.
Jual Kelinci

mohit sharma said...

Valentine week is nearing to us we all are ready to enjoy this day with our lady. So download latest Hug day 2017 hd images for your lady.

chenmeinv0 said...

michael kors
nike air max 2017
longchamp handbags
timberland boots
adidas trainers
converse shoes
mizuno running shoes
ray ban canada
true religion outlet
cheap jordan shoes

Anonymous said...

BlackMart Pro

huali10 Cai said...

rolex watches for sale
louis vuitton
cheap jordans for sale
air max 90
longchamp outlet
nike outlet store online
tory burch outlet online
futbol baratas
cheap oakley sunglasses
michael kors outlet clearance

Unknown said...

cheap replica watches
air max 90
iphone case uk
michael kors handbags
ralph lauren outlet
michael kors canada
nike air max 90
coach outlet
michael kors outlet clearance
michael kors outlet

dong dong23 said...

calvin klein jeans
vans outlet
coach bags
christian louboutin shoes
ralph lauren outlet
michael kors outlet clearance
michael kors handbags
yeezy boost 350 v2
louis vuitton outlet online
birkenstock shoes

xjd7410@gmail.com said...

coach handbags outlet
ralph lauren outlet
kate spade uk
true religion jeans
mac cosmetics sale
ray-ban sunglasses
coach outlet online
ralph lauren
true religion jeans
new balance outlet

شركة المثالية لتنظيف said...

شركة تسليك مجارى بالدمام

raybanoutlet001 said...

toms shoes
nike huarache
valentino outlet
ed hardy
michael kors handbags
mont blanc outlet
atlanta falcons jerseys
nike air max 90
nike huarache

Love Kpop said...

I'm puzzled with lots of exercises. I was afraid I could not do the right time despite my hard work. I need a support person.

Best Construction Company City of Yonkers said...

The team at Ajrin Construction Inc. is the best of the best general contractors and support staffs, as selected from within the industries over City of Yonkers NY based upon their achievements and their understanding of complex projects.
Best Construction Company City of Yonkers

قمة الخليج said...

شركة تنظيف
تهتم شركة قمم التميز باعمال وخدمات التنظيف فى اى مكان فى تنظيف الشقق – البيوت – المنازل – المصانع واى مكان يحتاج الى اعمال التنظيف من اجل ان تساعد فى الوصول الى افضل ما تجدة من نتائج مميزة شركة تنظيف فلل بالباحة
تنظيف يحتاج للاشياء معقدة من الادوات ، مثل الغرف المنزل لها ادوات التنظيف الخاصة، الصالون المدهب يحتاج لمنظف الخاص ، وسطح فى المنزل يتطلب مواد متخلفة ، فكثير من المنظفات المطلوبة حتى تكون عملية التنظيف سهلة ومن المنظفات : مبيض التواليت ، منظف الحمام، المطهرات ، المنظف للنوافذ والارضيات والغسيل ، سائل الغسيل و اعمال المنزل الصغيرة يمكن انجازاها بفوطة جافة ومنظف جيد ، المنظف المصنوع بقل الامكنيات ، معلقتين من الخل الابيض مع لتر من الماء الساخن وضعهم فى بخاخة . بيكربونات الصوديم لتنظيف البلاط يمكن مزج ثلاثه اجزاء من الماء الساخن مع جزء من الصودا لتنطيف الفرن والثلاجة ، وبيكربونات الصوديم بقليل من سائل الجلى يتكون معجون سميك صالح لتنظيف الحمام ، يمكن استخدام بيكربونات الصوديم وضعه فى صحن صغير ولطرد الروائح الكريهة من الثلاجة ، كربونات الصوديم فعالة فى ازالة البقع الدهنية لانها قلوية ويجب لبس قفازات لاستخدامها .
شركة تنظيف بالباحة
الخل الابيض وعصير الليمون يمكن تنظيف السطوح الزجاجية والخشبية المصقولة ، ويمكن استخدام الخل الابيض والليمون للتخلص من الروائح الكريهة والتعطير .
عند التنظيف يجب لبس القفازات لحماية الايدى من المواد المنظفه ، ويمكن لبس الفقازات عند غسيل الصحون وتكون مخصص لعمل فى المطبخ .
والمنزل النظيفة من غير فوضوى أجمل بكثير وافضل ،وإذا توفر جميع الادوات النظافة داخل بيت تكون عمليه النظافة سهلة ، شركة تنظيف شقق بالباحة
للتنظيف المنزل من اعلى الى اسفل ، اى تنظيف الغبار من اعلى الى اسفل ويمكن استخدام الاجهزة الكهربائية فى عملية التنظيف .
تنظيف النوافذ باستخدام قطعة قطنية فى مسح الزجاج وللتجفيف بورقة من الجرائد ، وتنظيف الاسطح الزجاجية للمنضدة باستعمال عصير ليمون ودعكها ثم تجفيفها بفوطة ورقية. ويمكن استعمال معجون الاسنان فى ازالة الخدوش الصغيرة من الزجاج . شركة تنظيف منازل بالباحة
لتنظيف الاثاث استعمال منظف على قليل من نشادر ، عدم وضع الاثاث فى أشعه الشمس فالشمس تجفف الأثاث ، للتخلص من الحلقات التى تكون على المنضدة بقليل من المنظف مع النشادر ثم مسحها بفوطة جافة ثم تلميعها بالملمع .
لتنظيف الحمام باستخدام الادوات النظافة الخاصة للحمام فى الحمام ، تنظيف السيراميك والمرايا باستخدام مطهر الجراثيم وتنظيف كل شئ فى الحمام مثل مقبض الباب ومفتاح الكهرباء ، والتخلص من القاذورات فى الاركان الضيقة فى الحمام ، تنظيف الخلاطات المياه ومسحها بقطعة قماش مغموسة فى خل او زيت الطعام ، لتنظيف الحمام باستخدام المناديل المعقمة ومسح منطقة الدش والمرحاض .
شركة تنظيف خزانات بالباحة
يمكن وضع جدول زمنى لتنظيف المنزل : ترتيب السرير وتغير ملايات السرير كل اسبوع ، غسيل الملابس اذا كانت العائلة مكونة من الاطفال يقومون بتوسيخ ملابسهم بشكل متكرر فيجب تنظيف البقع سريعا .
وغسل الاوانى الطعام باليد او فى غسالة الاطباق وغسلها يوميا لا نها تشكل العفن وقد تنيجة خطر ويسبب امراض .

mayazoe said...

Valentine's Day falls on a Tuesday this fine 2012, quite possibly one of the least romantic days of the week. Tuesdays smack of the stress of the work week and the usual "school night" routine. So how do you make Valentine's Day special, even though it lies on a school night? If you're a bit lost for things to do, read on and absorb the hints, take them to heart and unleash your inner romantic.valentine week 2018

Joke forever said...

Thanks for sharing this article i hope you post more in your future
Check out : Republic Day Essay
Happy Lohri GIFS
Promise Day Images 2018
Best Teddy Bear Day HD Wallpapers
Republic Day Images
Republic Day Speech
Chocolate Day Pictures 2018
Chocolate Wishes 2018
Propose day Images 2018
Propose day Wishes 2018
Promise day Images & Wishes 2018

suhail alam said...

Republic Day 2018
Republic Day 2018 Animated GIF Image
Happy Republic Day 2018 Message
Chief Guest on Republic Day 2018
Republic Day 2018 HD Flag Image Wallpaper
Happy Republic Day 2018 Image
Republic Day 2018 Sms Wishes
Republic Day 2018 HD Wallpaper
Republic Day 2018 Facebook Status

suhail alam said...

Happy Valentine Day 2018
Happy Valentine Day 2018 Messages
Happy Valentine Day 2018 Quotes for friends
Happy Valentine Day 2018 animated GIF image
Happy Valentine Day quotes saying 2018
Happy Valentine Day 2018 image
Happy Valentine Day 2018 Status for Facebook

洛噷 said...

2018120 leilei3915
ugg outlet
pandora outlet
michael kors outlet
nike outlet online
polo ralph lauren outlet
michael kors outlet clearance
coach outlet online
uggs outlet
ralph lauren uk
moncler jackets

shubham verma said...

valentines day nice pictures
valentine's day gifts for her
valentines day poems
when is valentine's day
happy valentines day images
valentines day facebook cover photos

Teresa Hamilton said...

Thank you for sharing! I'm looking for this news.
instagram online

Cara Mengobati Nyeri Sendi said...

The information is very good indeed, may be useful for everything

Obat Menghilangkan Jerawat Sampai Tuntas
Cara Mengobati Parkinson Sampai Sembuh
Pengobatan Efektif Kutil Pada Tubuh
Cara Mengobati Degenerasi Makula
Obat Pneumonia Pada Anak
Pengobatan Cacar Air Ampuh

Railway Recruitment said...

ITI Admission Haryana
ITI Admission Bihar
Apply online ITI Assam

raybanoutlet001 said...

kate spade outlet online
oakland raiders jerseys
kate spade outlet online
ralph lauren uk
kate spade outlet online
louboutin shoes
nike factory outlet
moncler outlet
ralph lauren outlet
jacksonville jaguars jersey

Railway Recruitment said...

Admit Card for Railway Jobs
Railway Recruitment Results
Result for Railway Jobs

ITI Admission said...

HP ITI Admission

Yaro Gabriel said...

oakley sunglasses
cheap jordan shoes
kate spade handbags
michael kors outlet
adidas yeezy
jordan shoes
fitflops sale
christian louboutin sale

洛噷 said...

2018914 leilei3915
pandora charms
louboutin shoes
adidas nmd r2
michael kors outlet
michael kors outlet online
michael kors
oakley sunglasses wholesale
oakley sunglasses wholesale
coach factory outlet
coach factory outlet

5689 said...

soccer shoes
coach outlet
adidas yeezy
reebok outlet
christian louboutin outlet
kate spade outlet
converse trainer
louboutin shoes
christian louboutin
ralph lauren polo

Yaro Gabriel said...


prada shoes
kate spade outlet
ugg outlet
nike shoes outlet
canada goose clothing
true religion
jordan 4
ray ban sunglasses

coach outlet online

rockybhai said...

free steam codes

rasheed said...

شركة غسيل خزانات بالمدينة المنورة شركة غسيل خزانات بالمدينة المنورة
افضل شركة تنظيف منازل بالمدينة المنورة شركة تنظيف بيوت بالمدينة المنورة