Applies to:
- Winshuttle Foundation
Create SharePoint Site plugin properties
This plugin creates a new SharePoint site at the specified URL using the specified template.
Property |
Description |
description |
The description of the site. |
inherit |
Whether or not to inherit from the parent site. |
loginnames |
XPath to a repeating section in the form that contains the login names of the users to add to the site. |
path |
The full path of the URL to create. |
permissions |
XPath to a repeating section in the form that contains the permission sets for the corresponding users. |
sitecollectionurl |
The URL of the site collection in which to create the new SharePoint site. |
template |
The name of the template to use in instantiating the site. |
title |
The title of the site. |
Example
- sitecollectionurl - http://svtest
- path - /sites/work/projecta
- template - STS#0
- inherit - false
- title - Project A Workplace
- description - Site for working on Project A.
- loginames - [//my:LoginName]
- permissions - [//my:Permission]
This will create a new site at the server-relative URL /sites/work/projecta contained in the site collection at http://svtest. It will use the template STS#0 (a standard SharePoint template; a list of these templates can be found in the Microsoft documentation) in creating the site.
The site will not inherit permissions from the parent with a title of "Project A Workplace" and description "Site for working on Project A." The XPath //my:LoginName will be used to query the form data to retrieve the login names of the people who should have access to the new site, and the XPath //my:Permission will be queried to get the corresponding permission levels for the users.