Skip to main content

Create Document Library or List

Description

Document Library or List plugin step creates a Generic List and Document Library in a specified SharePoint Online site.

Prerequisites

You require the following permissions for app on Azure:

Account TypePermission typePermission (from least to most privileged)
Work or School accountDelegatedSites.Manage.All

Configuration:

No.Field NameDescription
1Step NameSpecify the name of the step. This name has to be unique in a single workflow. This is a mandatory field.
Connection:
2Client IDSpecify the Client ID of SharePoint App. For information about creating a client ID, see Appendix: SharePoint: App Registration & Refresh Token Generation. The field data type is String. This is a mandatory field.
3Accept value as variable/staticSelect the checkbox if you want enter the Refresh Token name in the Refresh Token field.

If you do not select the checkbox, then you can select the refresh token in the Refresh Token field.

4Refresh TokenSpecify or select the Refresh Token generated using ClientID, which is generated after creating App in Azure AD.

This is a mandatory field.

5Test ConnectionVerifies whether the connection is established or not.

Note: This connection will not work for the previous step variables. The button will only work with static values and environment variables.

Input Tab:

No.Field NameDescription
Input Fields:
1Site Relative URLSelect the sharepoint site-relative URL. Tenant Name.sharepoint.com:/Sharepoint Site Path

Ex-firstUser.sharepoint.com:/sites/TestingSite. This is a mandatory field.

Note: For root site (Communication Site), no need to give sharepoint site path
2NameSelect the name of the Document Library or List.

This is a mandatory field.

3Template TypeSelect the type of template. Available values are: documentLibrary, genericList.

This is a mandatory field.

Output Tab:

Field NameDescription
Output Fields:
List IDSpecify the ID of the created Document Library or List.