This activity creates a new SharePoint site or subsite at the specified URL.
SharePoint Workflow Designer Phrase
Create new site with the following name, the following url and the following template in current site. Use the following description, use unique permissions No, use top link bar No from the parent site, display this site on Quick Launch No and on the Top Link Bar No of the parent site. Locale 1033
Parameters
Input parameters
Parameter | Description | Example |
The followingname | Name of the newSharePoint site | The title of the new site. The maximum length is 255characters. |
The following url | The complete URL where the site should be created or relative url to the currentsite. | Example: if parent site is http://server01/MyDocs, a correct url for new sub site should be http://server01/MyDocs/MyChild or MyChild ifworkflow is running on http://server01/MyDocs site. |
The following template | Specifies the type of template to be used by the newly created site.If you do not specify a template to use, the owner can choose a template when he or she first browses to the site. | The value may be be in the form:name#configuration. If you do not specify the configuration, (for example, STS) configuration 0 is the default (for example, STS#0).template title from Site Template Gallery (forexample, “Example template”)template file name from Site Template Gallery (for example, ExampleTemplate.stp). |
Current site | Optional. The URL of a source SharePoint site. If the value field is empty,current site will be used. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite |
The followingdescription | Optional. Description ofthe new site. | Your site description |
Use unique permissions | Specifies whether the site has unique permissions instead of inheriting them from the parent. Defaultvalue is No. | Yes No |
Use top link bar No from the parent site | Specify whether this site will have its own top link bar or use the one from its parent. | Yes No |
display this site on Quick Launch No | Specify whether links to this site appear in the Quick Launch and the top link barof the parent site. | Yes No |
display this site on the Top Link Bar No of the parent site | Specify whether links to this site appear in the Quick Launch and the top link bar of the parent site. | |
Locale | Locale ID of newly createdsite. | Default value is 1033 (English) |
Example