Create Library
This event is found in the SharePoint 2013 - Library Events node.
What does it do?
The Create Library event allows you to create a new SharePoint document library.
How is it used?
Libraries contain documents within SharePoint. In a business application, a workflow may upload documents associated with a customer order to a library so that all documents from that order can be found in the same place.

Specify the site where the library should be created by either using a reference created earlier in the workflow or by browsing to a site.
Field | Description | Sample Value |
---|---|---|
Site | Use this option if a reference was created earlier in this workflow for the site. | Click the drop-down list to select the reference name. |
Site Collection | If no reference is available, browse to the Site on a registered SharePoint site collection. The Site Collection field is populated with the default site collection. |
Choose a site collection from the available site collections that have the K2 for SharePoint app registered. If there is only one it is auto-selected. |
Subsite | Specify a subsite if applicable. The correct value is important in order to get access to the appropriate site context. | Type text or drop a field from the context browser. |
Relative URL |
The Subsite Relative URL is the URL from the SharePoint Main Site (Root) to the Subsite you want to access. The correct value is important in order to get access to the appropriate site context. For example: If you want to access a subsite created on the Main SharePoint Site, let’s say Root/Subsite 1, the Subsite Relative URL is Subsite 1. |
Type a value, or drag a value from the Context Browser such as a pre-configured |
Use existing library on site if found | If this is selected, and an existing library name matches the created library name, the existing library is used. | Select the option. |

Complete all required fields and any desired optional fields to specify properties for the library. A library reference can be created for future use in later workflow steps.
Field | Description | Sample Value |
---|---|---|
Name | The name of the library. |
Type a value, or drag a value from the Context Browser such as a pre-configured |
Description | The description of the library |
Type a value, or drag a value from the Context Browser such as a pre-configured |
Library Options |
|
Select the required options |
Template |
Select or specify a SharePoint template to base the new library on. Templates determine the default views and organization of the library. |
Select a template from the drop-down or click on the toggle button. Type a value, or drag a value from the Context Browser such as a pre-configured |
Create Library Reference |
Create a library Reference for the new SharePoint library that is created. This reference can be used to identify this library later in the workflow. The reference must be unique for this library. |
Type a value, or drag a value from the Context Browser such as a pre-configured |