Create SharePoint list or document library
This activity creates a new SharePoint list or document library using specified template.

SharePoint Workflow Designer Phrase#
Create list with the following name and the following description using Generic list template on current site. Display on Quick Launch No. Save created list url in Variable: new list url variable.
Parameters#
Input parameters
| Parameter | Description | Example |
| The followingname | Name of the newSharePoint list | The title of the new list. The maximum length is 255characters. |
| The followingdescription | Optional. Description ofthe new list or library. | My custom list |
| Generic list | Predefined list of available templates. Default value is Generic list corresponds to Custom list in SharePoint. | Generic list, Document Library, Links, Survey, etc. |
| 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 |
| Display on Quick Launch | Optional. Yes if the list appears on the Quick Launch area of thehomepage; otherwise, No. | Yes No |
| Variable: new list url | Set by this activity. The complete URL where the list should be created or empty value if create list inthe current site. | Example: http://server01 |
Example
