- Topic automatically generated on 12/27/2017*
The namespace of the PnP Provisioning Schema is:
http://schemas.dev.office.com/PnP/2018/01/ProvisioningSchema
All the elements have to be declared with that namespace reference.
Here follows the list of root elements available in the PnP Provisioning Schema.
<pnp:Provisioning
xmlns:pnp="http://schemas.dev.office.com/PnP/2018/01/ProvisioningSchema">
<pnp:Preferences />
<pnp:Localizations />
<pnp:Tenant />
<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. |
Tenant | Tenant | Entry point to manage tenant-wide settings. |
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. |
Represents the root element of the SharePoint Provisioning Template.
<pnp:ProvisioningTemplate
xmlns:pnp="http://schemas.dev.office.com/PnP/2018/01/ProvisioningSchema"
ID="xsd:ID"
Version="xsd:decimal"
BaseSiteTemplate="xsd:string"
ImagePreviewUrl="xsd:string"
DisplayName="xsd:string"
Description="xsd:string"
TemplateCultureInfo="pnp:ReplaceableString"
Scope="">
<pnp:Properties />
<pnp:SitePolicy />
<pnp:WebSettings />
<pnp:RegionalSettings />
<pnp:SupportedUILanguages />
<pnp:AuditSettings />
<pnp:PropertyBagEntries />
<pnp:Security />
<pnp:Navigation />
<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:ApplicationLifecycleManagement />
<pnp:Providers />
<pnp:SiteWebhooks />
<pnp:ClientSidePages />
</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. |
Navigation | Navigation | The Navigation 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. |
ApplicationLifecycleManagement | ApplicationLifecycleManagement | Entry point to manage the ALM of SharePoint Add-Ins and SharePoint Framework solutions at the site collection level. |
Providers | Providers | The Extensiblity Providers to invoke while applying the Provisioning Template, optional collection of elements. |
SiteWebhooks | SiteWebhooksList | Defines any list of Webhooks for the current site. |
ClientSidePages | ClientSidePages | The Client-side Pages to provision into the target Site through the Provisioning Template, optional element. |
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. |
BaseSiteTemplate | xsd:string | The Base SiteTemplate 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. |
TemplateCultureInfo | ReplaceableString | The default CultureInfo of the Provisioning Template, used to format all input values, optional attribute. |
Scope | Declares the target scope of the current Provisioning Template |
Here follows the list of all the other child elements and complex types that can be used in the PnP Provisioning Schema.
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.
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. |
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 |
A Localization element
<pnp:Localization
LCID="xsd:int"
Name="xsd:string"
ResourceFile="xsd:string">
</pnp:Localization>
Here follow the available attributes for the element.
Element to manage tenant-wide settings.
<pnp:Tenant>
<pnp:AppCatalog />
<pnp:ContentDeliveryNetwork />
</pnp:Tenant>
Here follow the available child elements for the Tenant element.
Element | Type | Description |
---|---|---|
AppCatalog | AppCatalog | Entry point for the tenant-wide AppCatalog |
ContentDeliveryNetwork | ContentDeliveryNetwork | Entry point for the tenant-wide Content Delivery Network |
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. |
The Site Columns of the Provisioning Template, optional element.
<pnp:SiteFields>
<!-- Any other XML content -->
</pnp:SiteFields>
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 | |
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 | |
The Files to provision into the target Site through the Provisioning Template, optional element.
<pnp:Files>
<pnp:File />
<pnp:Directory />
</pnp:Files>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
File | File | |
Directory | Directory | |
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. |
The Search Settings for the Provisioning Template, optional element.
<pnp:SearchSettings>
<pnp:SiteSearchSettings />
<pnp:WebSearchSettings />
</pnp:SearchSettings>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
SiteSearchSettings | SiteSearchSettings | The Search Settings for the Site Collection, optional element. |
WebSearchSettings | WebSearchSettings | The Search Settings for the Site, optional element. |
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 | |
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. |
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.
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.
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. |
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. |
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.
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. | |
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 | |
The Security configurations of the Provisioning Template, optional collection of elements.
<pnp:Security
BreakRoleInheritance="xsd:boolean"
CopyRoleAssignments="xsd:boolean"
ClearSubscopes="xsd:boolean">
<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 |
Here follow the available attributes for the Security element.
<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. |
The Navigation configurations of the Provisioning Template, optional collection of elements.
<pnp:Navigation
EnableTreeView="xsd:boolean"
AddNewPagesToNavigation="xsd:boolean"
CreateFriendlyUrlsForNewPages="xsd:boolean">
<pnp:GlobalNavigation />
<pnp:CurrentNavigation />
</pnp:Navigation>
Here follow the available child elements for the Navigation element.
Element | Type | Description |
---|---|---|
GlobalNavigation | GlobalNavigation | The Global Navigation settings for the Provisioning Template, optional element. |
CurrentNavigation | CurrentNavigation | The Current Navigation settings for the Provisioning Template, optional element. |
Here follow the available attributes for the Navigation element.
The Global Navigation settings for the Provisioning Template, optional element.
<pnp:GlobalNavigation
NavigationType="">
<pnp:StructuralNavigation />
<pnp:ManagedNavigation />
</pnp:GlobalNavigation>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
StructuralNavigation | StructuralNavigation | |
ManagedNavigation | ManagedNavigation |
Here follow the available attributes for the element.
Attibute | Type | Description |
---|---|---|
NavigationType | Defines the type of Global Navigation, required attribute. | |
The Current Navigation settings for the Provisioning Template, optional element.
<pnp:CurrentNavigation
NavigationType="">
<pnp:StructuralNavigation />
<pnp:ManagedNavigation />
</pnp:CurrentNavigation>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
StructuralNavigation | StructuralNavigation | |
ManagedNavigation | ManagedNavigation |
Here follow the available attributes for the element.
Attibute | Type | Description |
---|---|---|
NavigationType | Defines the type of Current Navigation, required attribute. | |
Defines the Managed Navigation settings of a site, optional element.
<pnp:ManagedNavigation
TermStoreId="pnp:ReplaceableString"
TermSetId="pnp:ReplaceableString">
</pnp:ManagedNavigation>
Here follow the available attributes for the ManagedNavigation element.
Defines the Structural Navigation settings of a site.
<pnp:StructuralNavigation
RemoveExistingNodes="xsd:boolean">
<pnp:NavigationNode />
</pnp:StructuralNavigation>
Here follow the available child elements for the StructuralNavigation element.
Element | Type | Description |
---|---|---|
NavigationNode | NavigationNode |
Here follow the available attributes for the StructuralNavigation element.
Attibute | Type | Description |
---|---|---|
RemoveExistingNodes | xsd:boolean | Defines whether to remove existing nodes before creating those described through this element, required attribute. |
Defines a Navigation Node for the Structural Navigation of a site.
<pnp:NavigationNode
Title="pnp:ReplaceableString"
Url="pnp:ReplaceableString"
IsExternal="xsd:boolean"
IsVisible="xsd:boolean">
<pnp:NavigationNode />
</pnp:NavigationNode>
Here follow the available child elements for the NavigationNode element.
Element | Type | Description |
---|---|---|
NavigationNode | NavigationNode |
Here follow the available attributes for the NavigationNode element.
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. |
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. |
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 | |
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.
Defines a StringDictionary element.
<pnp:StringDictionaryItem
Key="xsd:string"
Value="xsd:string">
</pnp:StringDictionaryItem>
Here follow the available attributes for the StringDictionaryItem element.
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 | |
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. |
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 | |
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.
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 | |
<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. |
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. |
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 | |
<pnp:RoleAssignment
Principal="xsd:string"
RoleDefinition="xsd:string"
Remove="xsd:boolean">
</pnp:RoleAssignment>
Here follow the available attributes for the RoleAssignment element.
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 | |
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.
Defines a ListInstance element
<pnp:ListInstance
Title="xsd:string"
Description="xsd:string"
DocumentTemplate="xsd:string"
OnQuickLaunch="xsd:boolean"
TemplateType="xsd:int"
Url="xsd:string"
ForceCheckout="xsd:boolean"
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"
NoCrawl="xsd:boolean"
ListExperience=""
DefaultDisplayFormUrl="xsd:string"
DefaultEditFormUrl="xsd:string"
DefaultNewFormUrl="xsd:string"
Direction=""
ImageUrl="xsd:string"
IrmExpire="xsd:boolean"
IrmReject="xsd:boolean"
IsApplicationList="xsd:boolean"
ReadSecurity="xsd:int"
ValidationFormula="xsd:string"
ValidationMessage="xsd:string">
<pnp:ContentTypeBindings />
<pnp:Views />
<pnp:Fields />
<pnp:FieldRefs />
<pnp:DataRows />
<pnp:Folders />
<pnp:FieldDefaults />
<pnp:Security />
<pnp:UserCustomActions />
<pnp:Webhooks />
<pnp:IRMSettings />
</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. |
UserCustomActions | CustomActionsList | Defines any Custom Action for the List Instance, optional element. |
Webhooks | WebhooksList | Defines any Webhook for the current list instance. |
IRMSettings | IRMSettings | Declares the Information Rights Management settings for the list or library. |
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. |
ForceCheckout | xsd:boolean | The ForceCheckout flag for the List Instance, optional 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. |
NoCrawl | xsd:boolean | Defines if the current list or library has to be included in crawling, optional attribute. |
ListExperience | Defines the current list UI/UX experience (valid for SPO only). | |
DefaultDisplayFormUrl | xsd:string | Defines a value that specifies the location of the default display form for the list. |
DefaultEditFormUrl | xsd:string | Defines a value that specifies the URL of the edit form to use for list items in the list. |
DefaultNewFormUrl | xsd:string | Defines a value that specifies the location of the default new form for the list. |
Direction | Defines a value that specifies the reading order of the list. | |
ImageUrl | xsd:string | Defines a value that specifies the URI for the icon of the list, optional attribute. |
IrmExpire | xsd:boolean | Defines if IRM Expire property, optional attribute. |
IrmReject | xsd:boolean | Defines the IRM Reject property, optional attribute. |
IsApplicationList | xsd:boolean | Defines a value that specifies a flag that a client application can use to determine whether to display the list, optional attribute. |
ReadSecurity | xsd:int | Defines the Read Security property, optional attribute. |
ValidationFormula | xsd:string | Defines a value that specifies the data validation criteria for a list item, optional attribute. |
ValidationMessage | xsd:string | Defines a value that specifies the error message returned when data validation fails for a list item, optional attribute. |
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 | |
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. |
The Fields entries of the List Instance, optional collection of elements.
<pnp:Fields>
<!-- Any other XML content -->
</pnp:Fields>
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 | |
Defines a collection of rows that will be added to the List Instance, optional element.
<pnp:DataRows
KeyColumn="xsd:string"
UpdateBehavior="">
<pnp:DataRow />
</pnp:DataRows>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
DataRow | DataRow |
Here follow the available attributes for the element.
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 | |
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. |
Declares the Information Rights Management settings for the list or library.
<pnp:IRMSettings
Enabled="xsd:boolean"
AllowPrint="xsd:boolean"
AllowScript="xsd:boolean"
AllowWriteCopy="xsd:boolean"
DisableDocumentBrowserView="xsd:boolean"
DocumentAccessExpireDays="xsd:int"
DocumentLibraryProtectionExpiresInDays="pnp:ReplaceableInt"
EnableDocumentAccessExpire="xsd:boolean"
EnableDocumentBrowserPublishingView="xsd:boolean"
EnableGroupProtection="xsd:boolean"
EnableLicenseCacheExpire="xsd:boolean"
GroupName="xsd:string"
LicenseCacheExpireDays="xsd:int"
PolicyDescription="xsd:string"
PolicyTitle="xsd:string">
</pnp:IRMSettings>
Here follow the available attributes for the IRMSettings element.
Defines a folder that will be provisioned into the target list/library.
<pnp:Folder
Name="xsd:string">
<pnp:Folder />
<pnp:Security />
<pnp:PropertyBagEntries />
</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. |
PropertyBagEntries | PropertyBagEntries | The Property Bag entries of the Folder, optional collection of elements. |
Here follow the available attributes for the Folder element.
Attibute | Type | Description |
---|---|---|
Name | xsd:string | The Name of the Folder, required attribute. |
The DataValue of a single field of a row to insert into a target ListInstance.
<pnp:DataValue>
</pnp:DataValue>
The FieldDefault of a single field of list or library for target ListInstance.
<pnp:FieldDefault>
</pnp:FieldDefault>
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.
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 | |
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. |
Defines the binding between a ListInstance and a ContentType.
<pnp:ContentTypeBinding
ContentTypeID="pnp:ContentTypeId"
Default="xsd:boolean"
Remove="xsd:boolean"
Hidden="xsd:boolean">
</pnp:ContentTypeBinding>
Here follow the available attributes for the ContentTypeBinding element.
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. |
The list of allowed Content Types for the Document Set, optional element.
<pnp:AllowedContentTypes
RemoveExistingContentTypes="xsd:boolean">
<pnp:AllowedContentType />
</pnp:AllowedContentTypes>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
AllowedContentType | AllowedContentType |
Here follow the available attributes for the element.
Attibute | Type | Description |
---|---|---|
RemoveExistingContentTypes | xsd:boolean | The RemoveExistingContentTypes flag for the Allowed Content Types of the current Document Set, optional attribute. |
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 | |
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 | |
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 | |
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 | |
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.
<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. |
<pnp:FieldRefFull>
</pnp:FieldRefFull>
Defines the binding between a ListInstance and a Field.
<pnp:ListInstanceFieldRef
DisplayName="xsd:string"
Remove="xsd:boolean">
</pnp:ListInstanceFieldRef>
Here follow the available attributes for the ListInstanceFieldRef element.
Defines the binding between a ContentType and a Field.
<pnp:ContentTypeFieldRef>
</pnp:ContentTypeFieldRef>
Defines the binding between a Document Set and a Field.
<pnp:DocumentSetFieldRef>
</pnp:DocumentSetFieldRef>
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 | |
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"
Remove="xsd:boolean"
ScriptBlock="xsd:string"
ImageUrl="xsd:string"
ScriptSrc="xsd:string"
RegistrationId="xsd:string"
RegistrationType="pnp:RegistrationType"
ClientSideComponentId="xsd:string"
ClientSideComponentProperties="xsd:string">
<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.
Defines the Custom UI Extension XML, optional element.
<pnp:CommandUIExtension>
<!-- Any other XML content -->
</pnp:CommandUIExtension>
Defines a collection of elements of type SiteWebhook.
<pnp:SiteWebhooksList>
<pnp:Webhook />
</pnp:SiteWebhooksList>
Here follow the available child elements for the SiteWebhooksList element.
Element | Type | Description |
---|---|---|
Webhook | SiteWebhook | |
Defines a collection of elements of type Webhook.
<pnp:WebhooksList>
<pnp:Webhook />
</pnp:WebhooksList>
Here follow the available child elements for the WebhooksList element.
Element | Type | Description |
---|---|---|
Webhook | Webhook | |
Defines a single element of type Webhook.
<pnp:Webhook
ServerNotificationUrl="pnp:ReplaceableString"
ExpiresInDays="pnp:ReplaceableInt">
</pnp:Webhook>
Here follow the available attributes for the Webhook element.
Defines a single element of type SiteWebhook.
<pnp:SiteWebhook
SiteWebhookType="">
</pnp:SiteWebhook>
Here follow the available attributes for the SiteWebhook element.
Attibute | Type | Description |
---|---|---|
SiteWebhookType | ||
Defines a collection of elements of type ClientSidePage.
<pnp:ClientSidePages>
<pnp:ClientSidePage />
</pnp:ClientSidePages>
Here follow the available child elements for the ClientSidePages element.
Element | Type | Description |
---|---|---|
ClientSidePage | ClientSidePage | |
Defines a single element of type ClientSidePage.
<pnp:ClientSidePage
PageName="xsd:string"
PromoteAsNewsArticle="xsd:boolean"
Overwrite="xsd:boolean"
Layout="xsd:string"
Publish="xsd:boolean"
EnableComments="xsd:boolean">
<pnp:Sections />
</pnp:ClientSidePage>
Here follow the available child elements for the ClientSidePage element.
Element | Type | Description |
---|---|---|
Sections | Sections | Defines the Canvas sections for a single ClientSidePage. |
Here follow the available attributes for the ClientSidePage element.
Defines the Canvas sections for a single ClientSidePage.
<pnp:Sections>
<pnp:Section />
</pnp:Sections>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
Section | CanvasSection | Defines a Canvas section for a single ClientSidePage. |
A Canvas Section for a Client-side Page.
<pnp:CanvasSection
Order="xsd:int"
Type="">
<pnp:Controls />
</pnp:CanvasSection>
Here follow the available child elements for the CanvasSection element.
Element | Type | Description |
---|---|---|
Controls | Controls | A collection of Canvas Controls for a Client-side Page. |
Here follow the available attributes for the CanvasSection element.
Attibute | Type | Description |
---|---|---|
Order | xsd:int | The order of the Canvas Section for a Client-side Page. |
Type | The type of the Canvas Section for a Client-side Page. | |
A collection of Canvas Controls for a Client-side Page.
<pnp:Controls>
<pnp:CanvasControl />
</pnp:Controls>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
CanvasControl | CanvasControl | A single Canvas Control for a Client-side Page. |
Defines a Canvas Control for a Client-side Page.
<pnp:CanvasControl
WebPartType=""
CustomWebPartName="xsd:string"
JsonControlData="xsd:string"
ControlId="pnp:GUID"
Order="xsd:int"
Column="xsd:int">
<pnp:CanvasControlProperties />
</pnp:CanvasControl>
Here follow the available child elements for the CanvasControl element.
Element | Type | Description |
---|---|---|
CanvasControlProperties | CanvasControlProperties | Custom properties for the client-side web part control. |
Here follow the available attributes for the CanvasControl element.
Custom properties for the client-side web part control.
<pnp:CanvasControlProperties>
<pnp:CanvasControlProperty />
</pnp:CanvasControlProperties>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
CanvasControlProperty | StringDictionaryItem | A single property of a client-side web part control. |
Defines a Canvas Section for a Client-side Page.
<pnp:CanvasColumn
Order="xsd:int"
ColumnFactor="xsd:int">
<pnp:Controls />
</pnp:CanvasColumn>
Here follow the available child elements for the CanvasColumn element.
Element | Type | Description |
---|---|---|
Controls | Controls | A collection of Canvas Controls for a Client-side Page. |
Here follow the available attributes for the CanvasColumn element.
Attibute | Type | Description |
---|---|---|
Order | xsd:int | The order of the Canvas section for a Client-side Page. |
ColumnFactor | xsd:int | The column Factor for Canvas column of a Client-side Page. |
A collection of Canvas Controls for a Client-side Page.
<pnp:Controls>
<pnp:CanvasControl />
</pnp:Controls>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
CanvasControl | CanvasControl | A single Canvas Control for a Client-side Page. |
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 | |
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"
Level="pnp:FileLevel"
TargetFileName="pnp:ReplaceableString">
<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.
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 | |
Defines a Directory element, to describe a folder in the current repository that will be used to upload files into the target Site.
<pnp:Directory
Src="pnp:ReplaceableString"
Folder="pnp:ReplaceableString"
Overwrite="xsd:boolean"
Level="pnp:FileLevel"
Recursive="xsd:boolean"
IncludedExtensions="xsd:string"
ExcludedExtensions="xsd:string"
MetadataMappingFile="pnp:ReplaceableString">
<pnp:Security />
</pnp:Directory>
Here follow the available child elements for the Directory element.
Element | Type | Description |
---|---|---|
Security | ObjectSecurity |
Here follow the available attributes for the Directory element.
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.
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 | |
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 | |
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.
Defines the WebPart XML, required element.
<pnp:Contents>
<!-- Any other XML content -->
</pnp:Contents>
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.
Defines the WebPart XML, required element.
<pnp:Contents>
<!-- Any other XML content -->
</pnp:Contents>
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.
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 | |
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 | |
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 | |
Defines the SharePoint Add-ins and SharePoint Framework solutions to provision, collection of elements.
<pnp:ApplicationLifecycleManagement>
<pnp:AppCatalog />
<pnp:Apps />
</pnp:ApplicationLifecycleManagement>
Here follow the available child elements for the ApplicationLifecycleManagement element.
Element | Type | Description |
---|---|---|
AppCatalog | AppCatalog | The App Catalog local to the current Site Collection |
Apps | Apps | The SharePoint Add-ins and SharePoint Framework solutions to provision into the target Site through the ALM API of SharePoint Online, optional element. |
The SharePoint Add-ins and SharePoint Framework solutions to provision into the target Site through the ALM API of SharePoint Online, optional element.
<pnp:Apps>
<pnp:App />
</pnp:Apps>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
App | App | |
Element to manage the AppCatalog tenant-wide, or local to a specific Site Collection
<pnp:AppCatalog>
<pnp:Package />
</pnp:AppCatalog>
Here follow the available child elements for the AppCatalog element.
Element | Type | Description |
---|---|---|
Package | Package | |
<pnp:Package
PackageId="pnp:ReplaceableString"
Src="xsd:string"
Action=""
SkipFeatureDeployment="xsd:boolean"
Overwrite="xsd:boolean">
</pnp:Package>
Here follow the available attributes for the element.
Element to manage the tenant-wide CDN.
<pnp:ContentDeliveryNetwork>
<pnp:Public />
<pnp:Private />
</pnp:ContentDeliveryNetwork>
Here follow the available child elements for the ContentDeliveryNetwork element.
Element | Type | Description |
---|---|---|
Public | CdnSetting | Defines the Public CDN settings. |
Private | CdnSetting | Defines the Private CDN settings. |
Defines the settings for a Public or Private CDN.
<pnp:CdnSetting
Enabled="xsd:boolean">
<pnp:Origins />
<pnp:IncludeFileExtensions />
<pnp:ExcludeRestrictedSiteClassifications />
<pnp:ExcludeIfNoScriptDisabled />
</pnp:CdnSetting>
Here follow the available child elements for the CdnSetting element.
Element | Type | Description |
---|---|---|
Origins | Origins | Defines the CDN Origins for the current CDN. |
IncludeFileExtensions | xsd:string | Defines the file extensions to include in the CDN policy. |
ExcludeRestrictedSiteClassifications | xsd:string | Defines the site classifications to exclude of the wild card origins. |
ExcludeIfNoScriptDisabled | xsd:string | Allows to opt-out of sites that have disabled NoScript. |
Here follow the available attributes for the CdnSetting element.
Attibute | Type | Description |
---|---|---|
Enabled | xsd:boolean | Defines whether the CDN has to be enabled or disabled, required attribute. |
Defines the CDN Origins for the current CDN.
<pnp:Origins>
<pnp:Origin />
</pnp:Origins>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
Origin | Origin | Defines a single CDN Origin for the current CDN. |
Defines the Publishing configuration to provision.
<pnp:Publishing
AutoCheckRequirements="">
<pnp:DesignPackage />
<pnp:AvailableWebTemplates />
<pnp:PageLayouts />
<pnp:ImageRenditions />
</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. |
ImageRenditions | ImageRenditions | Defines the Image Renditions for the current Publishing site, optional collection of elements. |
Here follow the available attributes for the Publishing element.
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.
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. |
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. |
Defines the Image Renditions for the current Publishing site, optional collection of elements.
<pnp:ImageRenditions>
<pnp:ImageRendition />
</pnp:ImageRenditions>
Here follow the available child elements for the element.
Element | Type | Description |
---|---|---|
ImageRendition | ImageRendition | Defines an available Image Rendition for the current Publishing site. |
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.
Defines an optional configuration section for the Extensibility Provider. The configuration section can be any XML.
<pnp:Configuration>
<!-- Any other XML content -->
</pnp:Configuration>
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. |
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. |
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.
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. |
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. |
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. | |
A TermGroup to use for provisioning of TermSets and Terms.
<pnp:TermGroup
Description="xsd:string"
SiteCollectionTermGroup="xsd:boolean"
UpdateBehavior=""
Name="xsd:string"
ID="pnp:GUID">
</pnp:TermGroup>
Here follow the available attributes for the TermGroup element.
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.
A TermSet to provision.
<pnp:TermSet
Language="xsd:int"
IsOpenForTermCreation="xsd:boolean">
</pnp:TermSet>
Here follow the available attributes for the TermSet element.
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.
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. |
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 | |
<pnp:Label
Language="xsd:int"
Value="xsd:string"
IsDefaultForLanguage="xsd:boolean">
</pnp:Label>
Here follow the available attributes for the element.
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 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>
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. |