Skip to content

Latest commit

 

History

History
2298 lines (1713 loc) · 68 KB

ProvisioningSchema-2015-12.md

File metadata and controls

2298 lines (1713 loc) · 68 KB

#PnP Provisioning Schema

Topic automatically generated on 04/02/2016

##Namespace The namespace of the PnP Provisioning Schema is:

http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema

All the elements have to be declared with that namespace reference.

##Root Elements Here follows the list of root elements available in the PnP Provisioning Schema.

###Provisioning

<pnp:Provisioning
      xmlns:pnp="http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema">
   <pnp:Preferences />
   <pnp:Localizations />
   <pnp:Templates />
   <pnp:Sequence />
   <pnp:ImportSequence />
</pnp:Provisioning>

Here follow the available child elements for the Provisioning element.

Element Type Description
Preferences Preferences The mandatory section of preferences for the current provisioning definition.
Localizations Localizations An optional list of localizations files to include.
Templates Templates An optional section made of provisioning templates.
Sequence Sequence An optional section made of provisioning sequences, which can include Sites, Site Collections, Taxonomies, Provisioning Templates, etc.
ImportSequence ImportSequence Imports sequences from an external file. All current properties should be sent to that file.
###ProvisioningTemplate
Represents the root element of the SharePoint Provisioning Template.
<pnp:ProvisioningTemplate
      xmlns:pnp="http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema"
      ID="xsd:ID"
      Version="xsd:decimal"
      ImagePreviewUrl="xsd:string"
      DisplayName="xsd:string"
      Description="xsd:string">
   <pnp:Properties />
   <pnp:SitePolicy />
   <pnp:WebSettings />
   <pnp:RegionalSettings />
   <pnp:SupportedUILanguages />
   <pnp:AuditSettings />
   <pnp:PropertyBagEntries />
   <pnp:Security />
   <pnp:SiteFields />
   <pnp:ContentTypes />
   <pnp:Lists />
   <pnp:Features />
   <pnp:CustomActions />
   <pnp:Files />
   <pnp:Pages />
   <pnp:TermGroups />
   <pnp:ComposedLook />
   <pnp:Workflows />
   <pnp:SearchSettings />
   <pnp:Publishing />
   <pnp:AddIns />
   <pnp:Providers />
</pnp:ProvisioningTemplate>

Here follow the available child elements for the ProvisioningTemplate element.

Element Type Description
Properties ProvisioningTemplateProperties A set of custom Properties for the Provisioning Template, optional element.
SitePolicy ReplaceableString The Site Policy of the Provisioning Template, optional element.
WebSettings WebSettings Section of Settings for the current Web Site, optional element.
RegionalSettings RegionalSettings The Regional Settings of the Provisioning Template, optional element.
SupportedUILanguages SupportedUILanguages The Supported UI Languages for the Provisioning Template, optional element.
AuditSettings AuditSettings The Audit Settings for the Provisioning Template, optional element.
PropertyBagEntries PropertyBagEntries The Property Bag entries of the Provisioning Template, optional collection of elements.
Security Security The Security configurations of the Provisioning Template, optional collection of elements.
SiteFields SiteFields The Site Columns of the Provisioning Template, optional element.
ContentTypes ContentTypes The Content Types of the Provisioning Template, optional element.
Lists Lists The Lists instances of the Provisioning Template, optional element.
Features Features The Features (Site or Web) to activate or deactivate while applying the Provisioning Template, optional collection of elements.
CustomActions CustomActions The Custom Actions (Site or Web) to provision with the Provisioning Template, optional element.
Files Files The Files to provision into the target Site through the Provisioning Template, optional element.
Pages Pages The Pages to provision into the target Site through the Provisioning Template, optional element.
TermGroups TermGroups The TermGroups element allows provisioning one or more TermGroups into the target Site, optional element.
ComposedLook ComposedLook The ComposedLook for the Provisioning Template, optional element.
Workflows Workflows The Workflows for the Provisioning Template, optional element.
SearchSettings SearchSettings The Search Settings for the Provisioning Template, optional element.
Publishing Publishing The Publishing capabilities configuration for the Provisioning Template, optional element.
AddIns AddIns The SharePoint Add-ins to provision into the target Site through the Provisioning Template, optional element.
Providers Providers The Extensiblity Providers to invoke while applying the Provisioning Template, optional collection of elements.

Here follow the available attributes for the ProvisioningTemplate element.

Attibute Type Description
ID xsd:ID The ID of the Provisioning Template, required attribute.
Version xsd:decimal The Version of the Provisioning Template, optional attribute.
ImagePreviewUrl xsd:string The Image Preview Url of the Provisioning Template, optional attribute.
DisplayName xsd:string The Display Name of the Provisioning Template, optional attribute.
Description xsd:string The Description of the Provisioning Template, optional attribute.

##Child Elements and Complex Types Here follows the list of all the other child elements and complex types that can be used in the PnP Provisioning Schema. ###Preferences General settings for a Provisioning file.

<pnp:Preferences
      Version="xsd:string"
      Author="xsd:string"
      Generator="xsd:string">
   <pnp:Parameters />
</pnp:Preferences>

Here follow the available child elements for the Preferences element.

Element Type Description
Parameters Parameters Definition of parameters that can be used as replacement within templates and provisioning objects.

Here follow the available attributes for the Preferences element.

Attibute Type Description
Version xsd:string Provisioning File Version number, optional attribute.
Author xsd:string Provisioning File Author name, optional attribute.
Generator xsd:string Name of the tool generating this Provisioning File, optional attribute.
###Parameters
Definition of parameters that can be used as replacement within templates and provisioning objects.
<pnp:Parameters>
   <pnp:Parameter />
</pnp:Parameters>

Here follow the available child elements for the element.

Element Type Description
Parameter Parameter A Parameter that can be used as a replacement within templates and provisioning objects.
###Localizations
An optional list of localizations files to include.
<pnp:Localizations>
   <pnp:Localization />
</pnp:Localizations>

Here follow the available child elements for the Localizations element.

Element Type Description
Localization Localization A Localization element
###Localization
A Localization element
<pnp:Localization
      LCID="xsd:int"
      Name="xsd:string"
      ResourceFile="xsd:string">
</pnp:Localization>

Here follow the available attributes for the element.

Attibute Type Description
LCID xsd:int The Locale ID of a Localization Language, required attribute.
Name xsd:string The Name of a Localization Language, required attribute.
ResourceFile xsd:string The path to the .RESX (XML) resource file for the current Localization, required attribute.
###Templates
SharePoint Templates, which can be inline or references to external files.
<pnp:Templates
      ID="xsd:ID">
   <pnp:ProvisioningTemplateFile />
   <pnp:ProvisioningTemplateReference />
   <pnp:ProvisioningTemplate />
</pnp:Templates>

Here follow the available child elements for the Templates element.

Element Type Description
ProvisioningTemplateFile ProvisioningTemplateFile Reference to an external template file, which will be based on the current schema but will focus only on the SharePointProvisioningTemplate section.
ProvisioningTemplateReference ProvisioningTemplateReference Reference to another template by ID.
ProvisioningTemplate ProvisioningTemplate

Here follow the available attributes for the Templates element.

Attibute Type Description
ID xsd:ID A unique identifier of the Templates collection, optional attribute.
###SiteFields
The Site Columns of the Provisioning Template, optional element.
<pnp:SiteFields>
   <!-- Any other XML content -->
</pnp:SiteFields>

###ContentTypes The Content Types of the Provisioning Template, optional element.

<pnp:ContentTypes>
   <pnp:ContentType />
</pnp:ContentTypes>

Here follow the available child elements for the element.

Element Type Description
ContentType ContentType
###Lists
The Lists instances of the Provisioning Template, optional element.
<pnp:Lists>
   <pnp:ListInstance />
</pnp:Lists>

Here follow the available child elements for the element.

Element Type Description
ListInstance ListInstance
###Files
The Files to provision into the target Site through the Provisioning Template, optional element.
<pnp:Files>
   <pnp:File />
</pnp:Files>

Here follow the available child elements for the element.

Element Type Description
File File
###TermGroups
The TermGroups element allows provisioning one or more TermGroups into the target Site, optional element.
<pnp:TermGroups>
   <pnp:TermGroup />
</pnp:TermGroups>

Here follow the available child elements for the element.

Element Type Description
TermGroup TermGroup The TermGroup element to provision into the target Site through the Provisioning Template, optional element.
###SearchSettings
The Search Settings for the Provisioning Template, optional element.
<pnp:SearchSettings>
   <!-- Any other XML content -->
</pnp:SearchSettings>

###Providers The Extensiblity Providers to invoke while applying the Provisioning Template, optional collection of elements.

<pnp:Providers>
   <pnp:Provider />
</pnp:Providers>

Here follow the available child elements for the element.

Element Type Description
Provider Provider
###ProvisioningTemplateProperties
A set of custom Properties for the Provisioning Template.
<pnp:ProvisioningTemplateProperties>
   <pnp:Property />
</pnp:ProvisioningTemplateProperties>

Here follow the available child elements for the ProvisioningTemplateProperties element.

Element Type Description
Property StringDictionaryItem A custom Property for the Provisioning Template, collection of elements.
###WebSettings
Section of Settings for the current Web Site, optional element.
<pnp:WebSettings
      RequestAccessEmail="xsd:string"
      NoCrawl="xsd:boolean"
      WelcomePage="xsd:string"
      Title="xsd:string"
      Description="xsd:string"
      SiteLogo="xsd:string"
      AlternateCSS="xsd:string"
      MasterPageUrl="xsd:string"
      CustomMasterPageUrl="xsd:string">
</pnp:WebSettings>

Here follow the available attributes for the WebSettings element.

Attibute Type Description
RequestAccessEmail xsd:string The email address to which any access request will be sent, optinal attribute.
NoCrawl xsd:boolean Defines whether the site has to be crawled or not, optinal attribute.
WelcomePage xsd:string Defines the Welcome Page (Home Page) of the site to which the Provisioning Template is applied, optional attribute. The page does not necessarily need to be in the current template, can be an already existing one.
Title xsd:string The Title of the Site, optional attribute.
Description xsd:string The Description of the Site, optional attribute.
SiteLogo xsd:string The SiteLogo of the Site, optional attribute.
AlternateCSS xsd:string The AlternateCSS of the Site, optional attribute.
MasterPageUrl xsd:string The MasterPage URL of the Site, optional attribute.
CustomMasterPageUrl xsd:string The Custom MasterPage URL of the Site, optional attribute.
###RegionalSettings
Defines the Regional Settings for a site.
<pnp:RegionalSettings
      AdjustHijriDays="xsd:int"
      AlternateCalendarType="pnp:CalendarType"
      CalendarType="pnp:CalendarType"
      Collation="xsd:int"
      FirstDayOfWeek="pnp:DayOfWeek"
      FirstWeekOfYear="xsd:int"
      LocaleId="xsd:int"
      ShowWeeks="xsd:boolean"
      Time24="xsd:boolean"
      TimeZone="pnp:ReplaceableInt"
      WorkDayEndHour="pnp:WorkHour"
      WorkDays="xsd:int"
      WorkDayStartHour="pnp:WorkHour">
</pnp:RegionalSettings>

Here follow the available attributes for the RegionalSettings element.

Attibute Type Description
AdjustHijriDays xsd:int The number of days to extend or reduce the current month in Hijri calendars, optinal attribute.
AlternateCalendarType CalendarType The Alternate Calendar type that is used on the server, optinal attribute.
CalendarType CalendarType The Calendar Type that is used on the server, optinal attribute.
Collation xsd:int The Collation that is used on the site, optinal attribute.
FirstDayOfWeek DayOfWeek The First Day of the Week used in calendars on the server, optinal attribute.
FirstWeekOfYear xsd:int The First Week of the Year used in calendars on the server, optinal attribute.
LocaleId xsd:int The Locale Identifier in use on the server, optinal attribute.
ShowWeeks xsd:boolean Defines whether to display the week number in day or week views of a calendar, optinal attribute.
Time24 xsd:boolean Defines whether to use a 24-hour time format in representing the hours of the day, optinal attribute.
TimeZone ReplaceableInt The Time Zone that is used on the server, optinal attribute.
WorkDayEndHour WorkHour The the default hour at which the work day ends on the calendar that is in use on the server, optinal attribute.
WorkDays xsd:int The work days of Web site calendars, optinal attribute.
WorkDayStartHour WorkHour The the default hour at which the work day starts on the calendar that is in use on the server, optinal attribute.
###SupportedUILanguages
Defines the Supported UI Languages for a site.
<pnp:SupportedUILanguages>
   <pnp:SupportedUILanguage />
</pnp:SupportedUILanguages>

Here follow the available child elements for the SupportedUILanguages element.

Element Type Description
SupportedUILanguage SupportedUILanguage Defines a single Supported UI Language for a site.
###SupportedUILanguage
Defines a single Supported UI Language for a site.
<pnp:SupportedUILanguage
      LCID="xsd:int">
</pnp:SupportedUILanguage>

Here follow the available attributes for the element.

Attibute Type Description
LCID xsd:int The Locale ID of a Supported UI Language, required attribute.
###AuditSettings
The Audit Settings for the Provisioning Template, optional collection of elements.
<pnp:AuditSettings
      AuditLogTrimmingRetention="xsd:int"
      TrimAuditLog="xsd:boolean">
   <pnp:Audit />
</pnp:AuditSettings>

Here follow the available child elements for the AuditSettings element.

Element Type Description
Audit Audit A single Audit setting defined by an AuditFlag.

Here follow the available attributes for the AuditSettings element.

Attibute Type Description
AuditLogTrimmingRetention xsd:int The Audit Log Trimming Retention for Audits, optional attribute.
TrimAuditLog xsd:boolean A flag to enable Audit Log Trimming, optional attribute.
###Audit
A single Audit setting defined by an AuditFlag.
<pnp:Audit
      AuditFlag="">
</pnp:Audit>

Here follow the available attributes for the element.

Attibute Type Description
AuditFlag An Audit Flag for a single Audit setting, required attribute.
###PropertyBagEntries
The Property Bag entries of the Provisioning Template, optional collection of elements.
<pnp:PropertyBagEntries>
   <pnp:PropertyBagEntry />
</pnp:PropertyBagEntries>

Here follow the available child elements for the PropertyBagEntries element.

Element Type Description
PropertyBagEntry PropertyBagEntry
###Security
The Security configurations of the Provisioning Template, optional collection of elements.
<pnp:Security>
   <pnp:AdditionalAdministrators />
   <pnp:AdditionalOwners />
   <pnp:AdditionalMembers />
   <pnp:AdditionalVisitors />
   <pnp:SiteGroups />
   <pnp:Permissions />
</pnp:Security>

Here follow the available child elements for the Security element.

Element Type Description
AdditionalAdministrators UsersList List of additional Administrators for the Site, optional collection of elements.
AdditionalOwners UsersList List of additional Owners for the Site, optional collection of elements.
AdditionalMembers UsersList List of additional Members for the Site, optional collection of elements.
AdditionalVisitors UsersList List of additional Visitors for the Site, optional collection of elements.
SiteGroups SiteGroups List of additional Groups for the Site, optional collection of elements.
Permissions Permissions
###Permissions
<pnp:Permissions>
   <pnp:RoleDefinitions />
   <pnp:RoleAssignments />
</pnp:Permissions>

Here follow the available child elements for the element.

Element Type Description
RoleDefinitions RoleDefinitions List of Role Definitions for the Site, optional collection of elements.
RoleAssignments RoleAssignments List of Role Assignments for the Site, optional collection of elements.
###Features
The Features (Site or Web) to activate or deactivate while applying the Provisioning Template, optional collection of elements.
<pnp:Features>
   <pnp:SiteFeatures />
   <pnp:WebFeatures />
</pnp:Features>

Here follow the available child elements for the Features element.

Element Type Description
SiteFeatures FeaturesList The Site Features to activate or deactivate while applying the Provisioning Template, optional collection of elements.
WebFeatures FeaturesList The Web Features to activate or deactivate while applying the Provisioning Template, optional collection of elements.
###CustomActions
The Custom Actions (Site or Web) to provision with the Provisioning Template, optional element.
<pnp:CustomActions>
   <pnp:SiteCustomActions />
   <pnp:WebCustomActions />
</pnp:CustomActions>

Here follow the available child elements for the CustomActions element.

Element Type Description
SiteCustomActions CustomActionsList The Site Custom Actions to provision while applying the Provisioning Template, optional collection of elements.
WebCustomActions CustomActionsList The Web Custom Actions to provision while applying the Provisioning Template, optional collection of elements.
###Pages
The Pages to provision into the target Site through the Provisioning Template, optional collection of elements.
<pnp:Pages>
   <pnp:Page />
</pnp:Pages>

Here follow the available child elements for the Pages element.

Element Type Description
Page Page
###PropertyBagEntry
The Property Bag Entry of the Provisioning Template.
<pnp:PropertyBagEntry
      Overwrite="xsd:boolean"
      Indexed="xsd:boolean">
</pnp:PropertyBagEntry>

Here follow the available attributes for the PropertyBagEntry element.

Attibute Type Description
Overwrite xsd:boolean Declares whether the Property Bag Entry has to overwrite an already existing entry, optional attribute.
Indexed xsd:boolean Declares whether the Property Bag Entry has to be indexed, optional attribute.
###StringDictionaryItem
Defines a StringDictionary element.
<pnp:StringDictionaryItem
      Key="xsd:string"
      Value="xsd:string">
</pnp:StringDictionaryItem>

Here follow the available attributes for the StringDictionaryItem element.

Attibute Type Description
Key xsd:string The Key of the property to store in the StringDictionary, required attribute.
Value xsd:string The Value of the property to store in the StringDictionary, required attribute.
###UsersList
List of Users for the Site Security, collection of elements.
<pnp:UsersList>
   <pnp:User />
</pnp:UsersList>

Here follow the available child elements for the UsersList element.

Element Type Description
User User
###User
The base type for a User element.
<pnp:User
      Name="xsd:string">
</pnp:User>

Here follow the available attributes for the User element.

Attibute Type Description
Name xsd:string The Name of the User, required attribute.
###SiteGroups
List of Site Groups for the Site Security, collection of elements.
<pnp:SiteGroups>
   <pnp:SiteGroup />
</pnp:SiteGroups>

Here follow the available child elements for the SiteGroups element.

Element Type Description
SiteGroup SiteGroup
###SiteGroup
The base type for a Site Group element.
<pnp:SiteGroup
      Title="xsd:string"
      Description="xsd:string"
      Owner="xsd:string"
      AllowMembersEditMembership="xsd:boolean"
      AllowRequestToJoinLeave="xsd:boolean"
      AutoAcceptRequestToJoinLeave="xsd:boolean"
      OnlyAllowMembersViewMembership="xsd:boolean"
      RequestToJoinLeaveEmailSetting="xsd:string">
   <pnp:Members />
</pnp:SiteGroup>

Here follow the available child elements for the SiteGroup element.

Element Type Description
Members UsersList The list of members of the Site Group, optional element.

Here follow the available attributes for the SiteGroup element.

Attibute Type Description
Title xsd:string The Title of the Site Group, required attribute.
Description xsd:string The Description of the Site Group, optional attribute.
Owner xsd:string The Owner of the Site Group, required attribute.
AllowMembersEditMembership xsd:boolean Defines whether the members can edit membership of the Site Group, optional attribute.
AllowRequestToJoinLeave xsd:boolean Defines whether to allow requests to join or leave the Site Group, optional attribute.
AutoAcceptRequestToJoinLeave xsd:boolean Defines whether to auto-accept requests to join or leave the Site Group, optional attribute.
OnlyAllowMembersViewMembership xsd:boolean Defines whether to allow members only to view the membership of the Site Group, optional attribute.
RequestToJoinLeaveEmailSetting xsd:string Defines the email address used for membership requests to join or leave will be sent for the Site Group, optional attribute.
###RoleDefinitions
List of Role Definitions for a target RoleAssignment, collection of elements.
<pnp:RoleDefinitions>
   <pnp:RoleDefinition />
</pnp:RoleDefinitions>

Here follow the available child elements for the RoleDefinitions element.

Element Type Description
RoleDefinition RoleDefinition
###RoleDefinition
<pnp:RoleDefinition
      Name="xsd:string"
      Description="xsd:string">
   <pnp:Permissions />
</pnp:RoleDefinition>

Here follow the available child elements for the RoleDefinition element.

Element Type Description
Permissions Permissions Defines the Permissions of the Role Definition, required element.

Here follow the available attributes for the RoleDefinition element.

Attibute Type Description
Name xsd:string Defines the Name of the Role Definition, required attribute.
Description xsd:string Defines the Description of the Role Definition, optional attribute.
###Permissions
Defines the Permissions of the Role Definition, required element.
<pnp:Permissions>
   <pnp:Permission />
</pnp:Permissions>

Here follow the available child elements for the element.

Element Type Description
Permission Permission Defines a Permission for a Role Definition.
###RoleAssignments
List of Role Assignments for a target Principal, collection of elements.
<pnp:RoleAssignments>
   <pnp:RoleAssignment />
</pnp:RoleAssignments>

Here follow the available child elements for the RoleAssignments element.

Element Type Description
RoleAssignment RoleAssignment
###RoleAssignment
<pnp:RoleAssignment
      Principal="xsd:string"
      RoleDefinition="xsd:string">
</pnp:RoleAssignment>

Here follow the available attributes for the RoleAssignment element.

Attibute Type Description
Principal xsd:string Defines the Role to which the assignment will apply, required attribute.
RoleDefinition xsd:string Defines the Role to which the assignment will apply, required attribute.
###ObjectSecurity
Defines a set of Role Assignments for specific principals.
<pnp:ObjectSecurity>
   <pnp:BreakRoleInheritance />
</pnp:ObjectSecurity>

Here follow the available child elements for the ObjectSecurity element.

Element Type Description
BreakRoleInheritance BreakRoleInheritance
###BreakRoleInheritance
Declares a section of custom permissions, breaking role inheritance from parent.
<pnp:BreakRoleInheritance
      CopyRoleAssignments="xsd:boolean"
      ClearSubscopes="xsd:boolean">
   <pnp:RoleAssignment />
</pnp:BreakRoleInheritance>

Here follow the available child elements for the element.

Element Type Description
RoleAssignment RoleAssignment

Here follow the available attributes for the element.

Attibute Type Description
CopyRoleAssignments xsd:boolean Defines whether to copy role assignments or not while breaking role inheritance, required attribute.
ClearSubscopes xsd:boolean Defines whether to clear subscopes or not while breaking role inheritance, required attribute.
###ListInstance
Defines a ListInstance element
<pnp:ListInstance
      Title="xsd:string"
      Description="xsd:string"
      DocumentTemplate="xsd:string"
      OnQuickLaunch="xsd:boolean"
      TemplateType="xsd:int"
      Url="xsd:string"
      EnableVersioning="xsd:boolean"
      EnableMinorVersions="xsd:boolean"
      EnableModeration="xsd:boolean"
      MinorVersionLimit="xsd:int"
      MaxVersionLimit="xsd:int"
      DraftVersionVisibility="xsd:int"
      RemoveExistingContentTypes="xsd:boolean"
      TemplateFeatureID="pnp:GUID"
      ContentTypesEnabled="xsd:boolean"
      Hidden="xsd:boolean"
      EnableAttachments="xsd:boolean"
      EnableFolderCreation="xsd:boolean">
   <pnp:ContentTypeBindings />
   <pnp:Views />
   <pnp:Fields />
   <pnp:FieldRefs />
   <pnp:DataRows />
   <pnp:Folders />
   <pnp:FieldDefaults />
   <pnp:Security />
</pnp:ListInstance>

Here follow the available child elements for the ListInstance element.

Element Type Description
ContentTypeBindings ContentTypeBindings The ContentTypeBindings entries of the List Instance, optional collection of elements.
Views Views The Views entries of the List Instance, optional collection of elements.
Fields Fields The Fields entries of the List Instance, optional collection of elements.
FieldRefs FieldRefs The FieldRefs entries of the List Instance, optional collection of elements.
DataRows DataRows Defines a collection of rows that will be added to the List Instance, optional element.
Folders Folders Defines a collection of folders (eventually nested) that will be provisioned into the target list/library, optional element.
FieldDefaults FieldDefaults Defines a list of default values for the Fields of the List Instance, optional collection of elements.
Security ObjectSecurity Defines the Security rules for the List Instance, optional element.

Here follow the available attributes for the ListInstance element.

Attibute Type Description
Title xsd:string The Title of the List Instance, required attribute.
Description xsd:string The Description of the List Instance, optional attribute.
DocumentTemplate xsd:string The DocumentTemplate of the List Instance, optional attribute.
OnQuickLaunch xsd:boolean The OnQuickLaunch flag for the List Instance, optional attribute.
TemplateType xsd:int The TemplateType of the List Instance, required attribute. Values available here: https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.listtemplatetype.aspx
Url xsd:string The Url of the List Instance, required attribute.
EnableVersioning xsd:boolean The EnableVersioning flag for the List Instance, optional attribute.
EnableMinorVersions xsd:boolean The EnableMinorVersions flag for the List Instance, optional attribute.
EnableModeration xsd:boolean The EnableModeration flag for the List Instance, optional attribute.
MinorVersionLimit xsd:int The MinorVersionLimit for versions history for the List Instance, optional attribute.
MaxVersionLimit xsd:int The MaxVersionLimit for versions history for the List Instance, optional attribute.
DraftVersionVisibility xsd:int The DraftVersionVisibility for the List Instance, optional attribute. The property will be cast to enum DraftVersionVisibility 0 - Reader - Any user who can read items, 1 - Author - Only users who can edit items, 2 - Approver - Only users who can approve items (and the author of the item)
RemoveExistingContentTypes xsd:boolean The RemoveExistingContentTypes flag for the List Instance, optional attribute.
TemplateFeatureID GUID The TemplateFeatureID for the feature on which the List Instance is based, optional attribute.
ContentTypesEnabled xsd:boolean The ContentTypesEnabled flag for the List Instance, optional attribute.
Hidden xsd:boolean The Hidden flag for the List Instance, optional attribute.
EnableAttachments xsd:boolean The EnableAttachments flag for the List Instance, optional attribute.
EnableFolderCreation xsd:boolean The EnableFolderCreation flag for the List Instance, optional attribute.
###ContentTypeBindings
The ContentTypeBindings entries of the List Instance, optional collection of elements.
<pnp:ContentTypeBindings>
   <pnp:ContentTypeBinding />
</pnp:ContentTypeBindings>

Here follow the available child elements for the element.

Element Type Description
ContentTypeBinding ContentTypeBinding
###Views
The Views entries of the List Instance, optional collection of elements.
<pnp:Views
      RemoveExistingViews="xsd:boolean">
   <!-- Any other XML content -->
</pnp:Views>

Here follow the available attributes for the element.

Attibute Type Description
RemoveExistingViews xsd:boolean A flag to declare if the existing views of the List Instance have to be removed, before adding the custom views, optional attribute.
###Fields
The Fields entries of the List Instance, optional collection of elements.
<pnp:Fields>
   <!-- Any other XML content -->
</pnp:Fields>

###FieldRefs The FieldRefs entries of the List Instance, optional collection of elements.

<pnp:FieldRefs>
   <pnp:FieldRef />
</pnp:FieldRefs>

Here follow the available child elements for the element.

Element Type Description
FieldRef ListInstanceFieldRef
###DataRows
Defines a collection of rows that will be added to the List Instance, optional element.
<pnp:DataRows>
   <pnp:DataRow />
</pnp:DataRows>

Here follow the available child elements for the element.

Element Type Description
DataRow DataRow
###Folders
Defines a collection of folders (eventually nested) that will be provisioned into the target list/library, optional element.
<pnp:Folders>
   <pnp:Folder />
</pnp:Folders>

Here follow the available child elements for the element.

Element Type Description
Folder Folder
###FieldDefaults
Defines a list of default values for the Fields of the List Instance, optional collection of elements.
<pnp:FieldDefaults>
   <pnp:FieldDefault />
</pnp:FieldDefaults>

Here follow the available child elements for the element.

Element Type Description
FieldDefault FieldDefault Defines a default value for a Field of the List Instance.
###Folder
Defines a folder that will be provisioned into the target list/library.
<pnp:Folder
      Name="xsd:string">
   <pnp:Folder />
   <pnp:Security />
</pnp:Folder>

Here follow the available child elements for the Folder element.

Element Type Description
Folder Folder A child Folder of another Folder item, optional element.
Security ObjectSecurity Defines the security rules for the row that will be added to the List Instance, optional element.

Here follow the available attributes for the Folder element.

Attibute Type Description
Name xsd:string The Name of the Folder, required attribute.
###DataValue
The DataValue of a single field of a row to insert into a target ListInstance.
<pnp:DataValue>
</pnp:DataValue>

###FieldDefault The FieldDefault of a single field of list or library for target ListInstance.

<pnp:FieldDefault>
</pnp:FieldDefault>

###ContentType Defines a Content Type.

<pnp:ContentType
      ID="pnp:ContentTypeId"
      Name="xsd:string"
      Description="xsd:string"
      Group="xsd:string"
      Hidden="xsd:boolean"
      Sealed="xsd:boolean"
      ReadOnly="xsd:boolean"
      Overwrite="xsd:boolean"
      NewFormUrl="xsd:string"
      EditFormUrl="xsd:string"
      DisplayFormUrl="xsd:string">
   <pnp:FieldRefs />
   <pnp:DocumentTemplate />
   <pnp:DocumentSetTemplate />
</pnp:ContentType>

Here follow the available child elements for the ContentType element.

Element Type Description
FieldRefs FieldRefs The FieldRefs entries of the List Instance, optional collection of elements.
DocumentTemplate DocumentTemplate Specifies the document template for the content type. This is the file which SharePoint Foundation opens as a template when a user requests a new item of this content type.
DocumentSetTemplate DocumentSetTemplate Specifies the properties of the DocumentSet Template if the ContentType defines a DocumentSet.

Here follow the available attributes for the ContentType element.

Attibute Type Description
ID ContentTypeId The value of the Content Type ID, required attribute.
Name xsd:string The Name of the Content Type, required attribute.
Description xsd:string The Description of the Content Type, optional attribute.
Group xsd:string The Group of the Content Type, optional attribute.
Hidden xsd:boolean Optional Boolean. True to define the content type as hidden. If you define a content type as hidden, SharePoint Foundation does not display that content type on the New button in list views.
Sealed xsd:boolean Optional Boolean. True to prevent changes to this content type. You cannot change the value of this attribute through the user interface, but you can change it in code if you have sufficient rights. You must have site collection administrator rights to unseal a content type.
ReadOnly xsd:boolean Optional Boolean. TRUE to specify that the content type cannot be edited without explicitly removing the read-only setting. This can be done either in the user interface or in code.
Overwrite xsd:boolean Optional Boolean. TRUE to overwrite an existing content type with the same ID.
NewFormUrl xsd:string Specifies the URL of a custom new form to use for list items that have been assigned the content type, optional attribute.
EditFormUrl xsd:string Specifies the URL of a custom edit form to use for list items that have been assigned the content type, optional attribute.
DisplayFormUrl xsd:string Specifies the URL of a custom display form to use for list items that have been assigned the content type, optional attribute.
###FieldRefs
The FieldRefs entries of the List Instance, optional collection of elements.
<pnp:FieldRefs>
   <pnp:FieldRef />
</pnp:FieldRefs>

Here follow the available child elements for the element.

Element Type Description
FieldRef ContentTypeFieldRef
###DocumentTemplate
Specifies the document template for the content type. This is the file which SharePoint Foundation opens as a template when a user requests a new item of this content type.
<pnp:DocumentTemplate
      TargetName="xsd:string">
</pnp:DocumentTemplate>

Here follow the available attributes for the element.

Attibute Type Description
TargetName xsd:string The value of the Content Type ID, required attribute.
###ContentTypeBinding
Defines the binding between a ListInstance and a ContentType.
<pnp:ContentTypeBinding
      ContentTypeID="pnp:ContentTypeId"
      Default="xsd:boolean">
</pnp:ContentTypeBinding>

Here follow the available attributes for the ContentTypeBinding element.

Attibute Type Description
ContentTypeID ContentTypeId The value of the Content Type ID to bind, required attribute.
Default xsd:boolean Declares if the Content Type should be the default Content Type in the list or library, optional attribute.
###DocumentSetTemplate
Defines a DocumentSet Template for creating multiple DocumentSet instances.
<pnp:DocumentSetTemplate
      WelcomePage="xsd:string">
   <pnp:AllowedContentTypes />
   <pnp:DefaultDocuments />
   <pnp:SharedFields />
   <pnp:WelcomePageFields />
</pnp:DocumentSetTemplate>

Here follow the available child elements for the DocumentSetTemplate element.

Element Type Description
AllowedContentTypes AllowedContentTypes
DefaultDocuments DefaultDocuments
SharedFields SharedFields
WelcomePageFields WelcomePageFields

Here follow the available attributes for the DocumentSetTemplate element.

Attibute Type Description
WelcomePage xsd:string Defines the custom WelcomePage for the Document Set, optional attribute.
###AllowedContentTypes
The list of allowed Content Types for the Document Set, optional element.
<pnp:AllowedContentTypes>
   <pnp:AllowedContentType />
</pnp:AllowedContentTypes>

Here follow the available child elements for the element.

Element Type Description
AllowedContentType AllowedContentType
###DefaultDocuments
The list of default Documents for the Document Set, optional element.
<pnp:DefaultDocuments>
   <pnp:DefaultDocument />
</pnp:DefaultDocuments>

Here follow the available child elements for the element.

Element Type Description
DefaultDocument DefaultDocument
###SharedFields
The list of Shared Fields for the Document Set, optional element.
<pnp:SharedFields>
   <pnp:SharedField />
</pnp:SharedFields>

Here follow the available child elements for the element.

Element Type Description
SharedField DocumentSetFieldRef
###WelcomePageFields
The list of Welcome Page Fields for the Document Set, optional element.
<pnp:WelcomePageFields>
   <pnp:WelcomePageField />
</pnp:WelcomePageFields>

Here follow the available child elements for the element.

Element Type Description
WelcomePageField DocumentSetFieldRef
###FeaturesList
Defines a collection of elements of type Feature.
<pnp:FeaturesList>
   <pnp:Feature />
</pnp:FeaturesList>

Here follow the available child elements for the FeaturesList element.

Element Type Description
Feature Feature
###Feature
Defines a single Site or Web Feature, which will be activated or deactivated while applying the Provisioning Template.
<pnp:Feature
      ID="pnp:GUID"
      Deactivate="xsd:boolean"
      Description="xsd:string">
</pnp:Feature>

Here follow the available attributes for the Feature element.

Attibute Type Description
ID GUID The unique ID of the Feature, required attribute.
Deactivate xsd:boolean Defines if the feature has to be deactivated or activated while applying the Provisioning Template, optional attribute.
Description xsd:string The Description of the feature, optional attribute.
###FieldRefBase
<pnp:FieldRefBase
      ID="pnp:GUID">
</pnp:FieldRefBase>

Here follow the available attributes for the FieldRefBase element.

Attibute Type Description
ID GUID The value of the field ID to bind, required attribute.
###FieldRefFull
<pnp:FieldRefFull>
</pnp:FieldRefFull>

###ListInstanceFieldRef Defines the binding between a ListInstance and a Field.

<pnp:ListInstanceFieldRef
      DisplayName="xsd:string">
</pnp:ListInstanceFieldRef>

Here follow the available attributes for the ListInstanceFieldRef element.

Attibute Type Description
DisplayName xsd:string The display name of the field to bind, only applicable to fields that will be added to lists, optional attribute.
###ContentTypeFieldRef
Defines the binding between a ContentType and a Field.
<pnp:ContentTypeFieldRef>
</pnp:ContentTypeFieldRef>

###DocumentSetFieldRef Defines the binding between a Document Set and a Field.

<pnp:DocumentSetFieldRef>
</pnp:DocumentSetFieldRef>

###CustomActionsList Defines a collection of elements of type CustomAction.

<pnp:CustomActionsList>
   <pnp:CustomAction />
</pnp:CustomActionsList>

Here follow the available child elements for the CustomActionsList element.

Element Type Description
CustomAction CustomAction
###CustomAction
Defines a Custom Action, which will be provisioned while applying the Provisioning Template.
<pnp:CustomAction
      Name="xsd:string"
      Description="xsd:string"
      Group="xsd:string"
      Location="xsd:string"
      Title="xsd:string"
      Sequence="xsd:int"
      Rights="xsd:string"
      Url="xsd:string"
      Enabled="xsd:boolean"
      ScriptBlock="xsd:string"
      ImageUrl="xsd:string"
      ScriptSrc="xsd:string"
      RegistrationId="xsd:string"
      RegistrationType="pnp:RegistrationType">
   <pnp:CommandUIExtension />
</pnp:CustomAction>

Here follow the available child elements for the CustomAction element.

Element Type Description
CommandUIExtension CommandUIExtension Defines the Custom UI Extension XML, optional element.

Here follow the available attributes for the CustomAction element.

Attibute Type Description
Name xsd:string The Name of the CustomAction, required attribute.
Description xsd:string The Description of the CustomAction, optional attribute.
Group xsd:string The Group of the CustomAction, optional attribute.
Location xsd:string The Location of the CustomAction, required attribute.
Title xsd:string The Title of the CustomAction, required attribute.
Sequence xsd:int The Sequence of the CustomAction, optional attribute.
Rights xsd:string The Rights for the CustomAction, based on values from Microsoft.SharePoint.Client.PermissionKind, optional attribute.
Url xsd:string The URL of the CustomAction, optional attribute.
Enabled xsd:boolean The Enabled flag for the CustomAction, optional attribute.
ScriptBlock xsd:string The ScriptBlock of the CustomAction, optional attribute.
ImageUrl xsd:string The ImageUrl of the CustomAction, optional attribute.
ScriptSrc xsd:string The ScriptSrc of the CustomAction, optional attribute.
RegistrationId xsd:string The RegistrationId of the CustomAction, optional attribute.
RegistrationType RegistrationType The RegistrationType of the CustomAction, optional attribute.
###CommandUIExtension
Defines the Custom UI Extension XML, optional element.
<pnp:CommandUIExtension>
   <!-- Any other XML content -->
</pnp:CommandUIExtension>

###FileProperties A collection of File Properties.

<pnp:FileProperties>
   <pnp:Property />
</pnp:FileProperties>

Here follow the available child elements for the FileProperties element.

Element Type Description
Property StringDictionaryItem
###File
Defines a File element, to describe a file that will be provisioned into the target Site.
<pnp:File
      Src="xsd:string"
      Folder="xsd:string"
      Overwrite="xsd:boolean">
   <pnp:Properties />
   <pnp:WebParts />
   <pnp:Security />
</pnp:File>

Here follow the available child elements for the File element.

Element Type Description
Properties FileProperties The File Properties, optional collection of elements.
WebParts WebParts The webparts to add to the page, optional collection of elements.
Security ObjectSecurity

Here follow the available attributes for the File element.

Attibute Type Description
Src xsd:string The Src of the File, required attribute.
Folder xsd:string The TargetFolder of the File, required attribute.
Overwrite xsd:boolean The Overwrite flag for the File, optional attribute.
###WebParts
The webparts to add to the page, optional collection of elements.
<pnp:WebParts>
   <pnp:WebPart />
</pnp:WebParts>

Here follow the available child elements for the element.

Element Type Description
WebPart WebPartPageWebPart
###Page
Defines a Page element, to describe a page that will be provisioned into the target Site. Because of the Layout attribute, the assumption is made that you're referring/creating a WikiPage.
<pnp:Page
      Url="xsd:string"
      Overwrite="xsd:boolean"
      Layout="pnp:WikiPageLayout">
   <pnp:WebParts />
   <pnp:Fields />
   <pnp:Security />
</pnp:Page>

Here follow the available child elements for the Page element.

Element Type Description
WebParts WebParts The webparts to add to the page, optional collection of elements.
Fields Fields The Fields to setup for the Page, optional collection of elements.
Security ObjectSecurity

Here follow the available attributes for the Page element.

Attibute Type Description
Url xsd:string The server relative url of the page, supports tokens, required attribute.
Overwrite xsd:boolean If set, overwrites an existing page in the case of a wikipage, optional attribute.
Layout WikiPageLayout Defines the layout of the wikipage, required attribute.
###WebParts
The webparts to add to the page, optional collection of elements.
<pnp:WebParts>
   <pnp:WebPart />
</pnp:WebParts>

Here follow the available child elements for the element.

Element Type Description
WebPart WikiPageWebPart
###Fields
The Fields to setup for the Page, optional collection of elements.
<pnp:Fields>
   <pnp:Field />
</pnp:Fields>

Here follow the available child elements for the element.

Element Type Description
Field BaseFieldValue
###WikiPageWebPart
Defines a WebPart to be added to a WikiPage.
<pnp:WikiPageWebPart
      Title="xsd:string"
      Row="xsd:int"
      Column="xsd:int">
   <pnp:Contents />
</pnp:WikiPageWebPart>

Here follow the available child elements for the WikiPageWebPart element.

Element Type Description
Contents Contents Defines the WebPart XML, required element.

Here follow the available attributes for the WikiPageWebPart element.

Attibute Type Description
Title xsd:string Defines the title of the WebPart, required attribute.
Row xsd:int Defines the row to add the WebPart to, required attribute.
Column xsd:int Defines the column to add the WebPart to, required attribute.
###Contents
Defines the WebPart XML, required element.
<pnp:Contents>
   <!-- Any other XML content -->
</pnp:Contents>

###WebPartPageWebPart Defines a webpart to be added to a WebPart Page.

<pnp:WebPartPageWebPart
      Title="xsd:string"
      Zone="xsd:string"
      Order="xsd:int">
   <pnp:Contents />
</pnp:WebPartPageWebPart>

Here follow the available child elements for the WebPartPageWebPart element.

Element Type Description
Contents Contents Defines the WebPart XML, required element.

Here follow the available attributes for the WebPartPageWebPart element.

Attibute Type Description
Title xsd:string Defines the title of the WebPart, required attribute.
Zone xsd:string Defines the zone of a WebPart Page to add the webpart to, required attribute.
Order xsd:int Defines the index of the WebPart in the zone, required attribute.
###Contents
Defines the WebPart XML, required element.
<pnp:Contents>
   <!-- Any other XML content -->
</pnp:Contents>

###ComposedLook Defines a ComposedLook element.

<pnp:ComposedLook
      Name="xsd:string"
      ColorFile="xsd:string"
      FontFile="xsd:string"
      BackgroundFile="xsd:string"
      Version="xsd:int">
</pnp:ComposedLook>

Here follow the available attributes for the ComposedLook element.

Attibute Type Description
Name xsd:string The Name of the ComposedLook, required attribute.
ColorFile xsd:string The ColorFile of the ComposedLook, required attribute.
FontFile xsd:string The FontFile of the ComposedLook, required attribute.
BackgroundFile xsd:string The BackgroundFile of the ComposedLook, optional attribute.
Version xsd:int The Version of the ComposedLook, optional attribute.
###Workflows
Defines the Workflows to provision.
<pnp:Workflows>
   <pnp:WorkflowDefinitions />
   <pnp:WorkflowSubscriptions />
</pnp:Workflows>

Here follow the available child elements for the Workflows element.

Element Type Description
WorkflowDefinitions WorkflowDefinitions
WorkflowSubscriptions WorkflowSubscriptions
###WorkflowDefinitions
Defines the Workflows Definitions to provision.
<pnp:WorkflowDefinitions>
   <pnp:WorkflowDefinition />
</pnp:WorkflowDefinitions>

Here follow the available child elements for the element.

Element Type Description
WorkflowDefinition WorkflowDefinition
###WorkflowSubscriptions
Defines the Workflows Subscriptions to provision.
<pnp:WorkflowSubscriptions>
   <pnp:WorkflowSubscription />
</pnp:WorkflowSubscriptions>

Here follow the available child elements for the element.

Element Type Description
WorkflowSubscription WorkflowSubscription
###AddIns
Defines the SharePoint Add-ins to provision, collection of elements.
<pnp:AddIns>
   <pnp:Addin />
</pnp:AddIns>

Here follow the available child elements for the AddIns element.

Element Type Description
Addin Addin
###Addin
<pnp:Addin
      PackagePath="xsd:string"
      Source="">
</pnp:Addin>

Here follow the available attributes for the element.

Attibute Type Description
PackagePath xsd:string Defines the .app file of the SharePoint Add-in to provision, required attribute.
Source Defines the Source of the SharePoint Add-in to provision, required attribute.
###Publishing
Defines the Publishing configuration to provision.
<pnp:Publishing
      AutoCheckRequirements="">
   <pnp:DesignPackage />
   <pnp:AvailableWebTemplates />
   <pnp:PageLayouts />
</pnp:Publishing>

Here follow the available child elements for the Publishing element.

Element Type Description
DesignPackage DesignPackage Defines a Design Package to import into the current Publishing site, optional element.
AvailableWebTemplates AvailableWebTemplates Defines the Available Web Templates for the current Publishing site, optional collection of elements.
PageLayouts PageLayouts Defines the Available Page Layouts for the current Publishing site, optional collection of elements.

Here follow the available attributes for the Publishing element.

Attibute Type Description
AutoCheckRequirements Defines how an engine should behave if the requirements for provisioning publishing capabilities are not satisfied by the target site, required attribute.
###DesignPackage
Defines a Design Package to import into the current Publishing site, optional element.
<pnp:DesignPackage
      DesignPackagePath="xsd:string"
      MajorVersion="xsd:int"
      MinorVersion="xsd:int"
      PackageGuid="pnp:GUID"
      PackageName="xsd:string">
</pnp:DesignPackage>

Here follow the available attributes for the element.

Attibute Type Description
DesignPackagePath xsd:string Defines the path of the Design Package to import into the current Publishing site, required attribute.
MajorVersion xsd:int The Major Version of the Design Package to import into the current Publishing site, optional attribute.
MinorVersion xsd:int The Minor Version of the Design Package to import into the current Publishing site, optional attribute.
PackageGuid GUID The ID of the Design Package to import into the current Publishing site, optional attribute.
PackageName xsd:string The Name of the Design Package to import into the current Publishing site, required attribute.
###AvailableWebTemplates
Defines the Available Web Templates for the current Publishing site, optional collection of elements.
<pnp:AvailableWebTemplates>
   <pnp:WebTemplate />
</pnp:AvailableWebTemplates>

Here follow the available child elements for the element.

Element Type Description
WebTemplate WebTemplate Defines an available Web Template for the current Publishing site.
###PageLayouts
Defines the Available Page Layouts for the current Publishing site, optional collection of elements.
<pnp:PageLayouts
      Default="xsd:string">
   <pnp:PageLayout />
</pnp:PageLayouts>

Here follow the available child elements for the element.

Element Type Description
PageLayout PageLayout Defines an available Page Layout for the current Publishing site.

Here follow the available attributes for the element.

Attibute Type Description
Default xsd:string Defines the URL of the Default Page Layout for the current Publishing site, if any. Optional attribute.
###Provider
Defines an Extensibility Provider.
<pnp:Provider
      Enabled="xsd:boolean"
      HandlerType="xsd:string">
   <pnp:Configuration />
</pnp:Provider>

Here follow the available child elements for the Provider element.

Element Type Description
Configuration Configuration Defines an optional configuration section for the Extensibility Provider. The configuration section can be any XML.

Here follow the available attributes for the Provider element.

Attibute Type Description
Enabled xsd:boolean Defines whether the Extensibility Provider is enabled or not, optional attribute.
HandlerType xsd:string The type of the handler. It can be a FQN of a .NET type, the URL of a node.js file, or whatever else, required attribute.
###Configuration
Defines an optional configuration section for the Extensibility Provider. The configuration section can be any XML.
<pnp:Configuration>
   <!-- Any other XML content -->
</pnp:Configuration>

###ProvisioningTemplateFile An element that references an external file.

<pnp:ProvisioningTemplateFile
      File="xsd:string"
      ID="xsd:ID">
</pnp:ProvisioningTemplateFile>

Here follow the available attributes for the ProvisioningTemplateFile element.

Attibute Type Description
File xsd:string Absolute or relative path to the file, required attribute.
ID xsd:ID ID of the referenced template, required attribute.
###ProvisioningTemplateReference
An element that references an external file.
<pnp:ProvisioningTemplateReference
      ID="xsd:IDREF">
</pnp:ProvisioningTemplateReference>

Here follow the available attributes for the ProvisioningTemplateReference element.

Attibute Type Description
ID xsd:IDREF ID of the referenced template, required attribute.
###Sequence
Each Provisioning file is split into a set of Sequence elements. The Sequence element groups the artefacts to be provisioned into groups. The Sequences must be evaluated by the provisioning engine in the order in which they appear.
<pnp:Sequence
      SequenceType=""
      ID="xsd:ID">
   <pnp:SiteCollection />
   <pnp:Site />
   <pnp:TermStore />
   <pnp:Extensions />
</pnp:Sequence>

Here follow the available child elements for the Sequence element.

Element Type Description
SiteCollection SiteCollection A Site Collection to provision through a Sequence, optional element.
Site Site A Site to provision through a Sequence, optional element.
TermStore TermStore A Term Store to provision through a Sequence, optional element.
Extensions Extensions Any Extension to provision through a Sequence, optional element.

Here follow the available attributes for the Sequence element.

Attibute Type Description
SequenceType Instructions to the Provisioning engine on how the Containers within the Sequence can be provisioned.
ID xsd:ID A unique identifier of the Sequence, required attribute.
###SiteCollection
Defines a SiteCollection that will be created into the target tenant/farm.
<pnp:SiteCollection
      Url="pnp:ReplaceableString">
   <pnp:Templates />
</pnp:SiteCollection>

Here follow the available child elements for the SiteCollection element.

Element Type Description
Templates Templates Templates that can be provisioned together with the Site Collection, optional collection of elements.

Here follow the available attributes for the SiteCollection element.

Attibute Type Description
Url ReplaceableString Absolute Url to the site, required attribute.
###Site
Defines a Site that will be created into a target Site Collection.
<pnp:Site
      UseSamePermissionsAsParentSite="xsd:boolean"
      Url="pnp:ReplaceableString">
   <pnp:Templates />
</pnp:Site>

Here follow the available child elements for the Site element.

Element Type Description
Templates Templates Templates that can be provisioned together with the Site, optional collection of elements.

Here follow the available attributes for the Site element.

Attibute Type Description
UseSamePermissionsAsParentSite xsd:boolean
Url ReplaceableString Relative Url to the site, required attribute.
###TermStore
A TermStore to use for provisioning of TermGroups.
<pnp:TermStore
      Scope="">
   <pnp:TermGroup />
</pnp:TermStore>

Here follow the available child elements for the TermStore element.

Element Type Description
TermGroup TermGroup The TermGroup element to provision into the target TermStore through, optional collection of elements.

Here follow the available attributes for the TermStore element.

Attibute Type Description
Scope The scope of the term store, required attribute.
###TermGroup
A TermGroup to use for provisioning of TermSets and Terms.
<pnp:TermGroup
      Description="xsd:string"
      SiteCollectionTermGroup="xsd:boolean"
      Name="xsd:string"
      ID="pnp:GUID">
</pnp:TermGroup>

Here follow the available attributes for the TermGroup element.

Attibute Type Description
Description xsd:string The Description of the TermGroup to use for provisioning of TermSets and Terms, optional attribute.
SiteCollectionTermGroup xsd:boolean Declares if the TermGroup is the Site Collection Term Group, optional attribute.
Name xsd:string The Name of the Taxonomy Item, required attribute.
ID GUID The ID of the Taxonomy Item, optional attribute.
###TermSetItem
Base type for TermSets and Terms
<pnp:TermSetItem
      Owner="xsd:string"
      Description="xsd:string"
      IsAvailableForTagging="xsd:boolean">
</pnp:TermSetItem>

Here follow the available attributes for the TermSetItem element.

Attibute Type Description
Owner xsd:string The Owner of the Term Set Item, optional attribute.
Description xsd:string The Description of the Term Set Item, optional attribute.
IsAvailableForTagging xsd:boolean Declares whether the Term Set Item is available for tagging, optional attribute.
###TermSet
A TermSet to provision.
<pnp:TermSet
      Language="xsd:int"
      IsOpenForTermCreation="xsd:boolean">
</pnp:TermSet>

Here follow the available attributes for the TermSet element.

Attibute Type Description
Language xsd:int The reference Language for the Term Set, optional attribute.
IsOpenForTermCreation xsd:boolean Declares whether the Term Set is open for terms creation or not, optional attribute.
###Term
A Term to provision into a TermSet or a hyerarchical Term.
<pnp:Term
      Language="xsd:int"
      CustomSortOrder="xsd:int"
      IsReused="xsd:boolean"
      IsSourceTerm="xsd:boolean"
      IsDeprecated="xsd:boolean"
      SourceTermId="pnp:GUID">
</pnp:Term>

Here follow the available attributes for the Term element.

Attibute Type Description
Language xsd:int The reference Language for the Term, optional attribute.
CustomSortOrder xsd:int The Custom Sort Order for the Term, optional attribute.
IsReused xsd:boolean Declares if this term is reused, optional attribute.
IsSourceTerm xsd:boolean If the IsReused property is set to false, the current Term is not reused and this property will always be true. If the current Term is reused (IsReused returns true), then this property should be set to true if it is the source Term.
IsDeprecated xsd:boolean Declares if this term is deprecated, optional attribute.
SourceTermId GUID The ID of the source term if this term is reused, optional attribute.
###TaxonomyItemProperties
A collection of Term Properties.
<pnp:TaxonomyItemProperties>
   <pnp:Property />
</pnp:TaxonomyItemProperties>

Here follow the available child elements for the TaxonomyItemProperties element.

Element Type Description
Property StringDictionaryItem A Term Property, collection of elements.
###TermLabels
A collection of Term Labels, in order to support multi-language terms.
<pnp:TermLabels>
   <pnp:Label />
</pnp:TermLabels>

Here follow the available child elements for the TermLabels element.

Element Type Description
Label Label
###Label
<pnp:Label
      Language="xsd:int"
      Value="xsd:string"
      IsDefaultForLanguage="xsd:boolean">
</pnp:Label>

Here follow the available attributes for the element.

Attibute Type Description
Language xsd:int The reference Language for the Term Label, required attribute.
Value xsd:string The Value for the Term Label, required attribute.
IsDefaultForLanguage xsd:boolean Declares whether the current Label is the default for the specific Language, optional attribute.
###TermSets
A collection of TermSets to provision.
<pnp:TermSets>
   <pnp:TermSet />
</pnp:TermSets>

Here follow the available child elements for the TermSets element.

Element Type Description
TermSet TermSet A Term Set, optional collection of elements.
###Extensions
Extensions are custom XML elements and instructions that can be extensions of this default schema or vendor or engine specific extensions.
<pnp:Extensions>
   <!-- Any other XML content -->
</pnp:Extensions>

###ImportSequence Imports sequences from an external file. All current properties should be sent to that file.

<pnp:ImportSequence
      File="xsd:string">
</pnp:ImportSequence>

Here follow the available attributes for the ImportSequence element.

Attibute Type Description
File xsd:string Absolute or relative path to the file, required attribute.