Class ProvisioningTemplate
Domain Object for the Provisioning Template
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class ProvisioningTemplate : BaseHierarchyModel, IProvisioningHierarchyDescendant
Constructors
ProvisioningTemplate()
Constructor for ProvisioningTemplate class
Declaration
public ProvisioningTemplate()
ProvisioningTemplate(FileConnectorBase)
Constructor for ProvisioningTemplate class
Declaration
public ProvisioningTemplate(FileConnectorBase connector)
Parameters
File FileConnectorBase object |
Properties
AddIns
Defines the SharePoint Add-ins to provision
Declaration
public AddInCollection AddIns { get; }
Property Value
ApplicationLifecycleManagement
Declaration
public ApplicationLifecycleManagement ApplicationLifecycleManagement { get; set; }
Property Value
AuditSettings
The Audit Settings for the Provisioning Template
Declaration
public AuditSettings AuditSettings { get; set; }
Property Value
BaseSiteTemplate
The Base SiteTemplate of the Provisioning Template
Declaration
public String BaseSiteTemplate { get; set; }
Property Value
String
|
ClientSidePages
Gets a collection of ClientSidePage to configure for the site
Declaration
public ClientSidePageCollection ClientSidePages { get; }
Property Value
ComposedLook
Gets or Sets the composed look of the template
Declaration
public ComposedLook ComposedLook { get; set; }
Property Value
Connector
Gets or sets the File Connector
Declaration
public FileConnectorBase Connector { get; set; }
Property Value
ContentTypes
Gets a collection of Content Types to create
Declaration
public ContentTypeCollection ContentTypes { get; }
Property Value
CustomActions
Gets or sets CustomActions for the template
Declaration
public CustomActions CustomActions { get; set; }
Property Value
Description
The Description of the Provisioning Template
Declaration
public String Description { get; set; }
Property Value
String
|
Directories
Gets a collection of directories from which upload files for the template
Declaration
public DirectoryCollection Directories { get; }
Property Value
DisplayName
The Display Name of the Provisioning Template
Declaration
public String DisplayName { get; set; }
Property Value
String
|
ExtensibilityHandlers
Gets or sets the Extensibility Handlers
Declaration
public ExtensibilityHandlerCollection ExtensibilityHandlers { get; }
Property Value
Features
Gets or sets a list of features to activate or deactivate
Declaration
public Features Features { get; set; }
Property Value
Files
Gets a collection of files for the template
Declaration
public FileCollection Files { get; }
Property Value
Footer
Header
Id
Gets or sets the ID of the Provisioning Template
Declaration
public string Id { get; set; }
Property Value
System.
|
ImagePreviewUrl
The Image Preview Url of the Provisioning Template
Declaration
public String ImagePreviewUrl { get; set; }
Property Value
String
|
Lists
Localizations
Gets or sets the Localizations
Declaration
public LocalizationCollection Localizations { get; }
Property Value
Navigation
Pages
Gets a collection of Wiki Pages for the template
Declaration
public PageCollection Pages { get; }
Property Value
Parameters
Any parameters that can be used throughout the template
Declaration
public Dictionary<string, string> Parameters { get; }
Property Value
Dictionary<System.
|
Properties
A set of custom Properties for the Provisioning Template
Declaration
public Dictionary<String, String> Properties { get; }
Property Value
Dictionary<String, String>
|
PropertyBagEntries
Declaration
public PropertyBagEntryCollection PropertyBagEntries { get; }
Property Value
Providers
Gets a collection of Providers that are used during the extensibility pipeline
Declaration
public ProviderCollection Providers { get; }
Property Value
ProvisioningTemplateWebhooks
The Webhooks for the Provisioning Template
Declaration
public ProvisioningTemplateWebhookCollection ProvisioningTemplateWebhooks { get; set; }
Property Value
Publishing
Defines the Publishing configuration to provision
Declaration
public Publishing Publishing { get; set; }
Property Value
RegionalSettings
The Regional Settings of the Provisioning Template
Declaration
public RegionalSettings RegionalSettings { get; set; }
Property Value
Scope
Declares the target scope of the current Provisioning Template
Declaration
public ProvisioningTemplateScope Scope { get; set; }
Property Value
SearchSettings
The Search Settings for the Provisioning Template
Declaration
public string SearchSettings { get; set; }
Property Value
System.
|
Security
Security Groups Members for the Template
Declaration
public SiteSecurity Security { get; set; }
Property Value
SiteFields
Gets a collection of fields
Declaration
public FieldCollection SiteFields { get; }
Property Value
SitePolicy
Gets or Sets the Site Policy
Declaration
public string SitePolicy { get; set; }
Property Value
System.
|
SiteSearchSettings
The Site Collection level Search Settings for the Provisioning Template
Declaration
public String SiteSearchSettings { get; set; }
Property Value
String
|
SiteSettings
The Site Settings of the Provisioning Template
Declaration
public SiteSettings SiteSettings { get; set; }
Property Value
SiteWebhooks
Gets a collection of SiteWebhooks to configure for the site
Declaration
public SiteWebhookCollection SiteWebhooks { get; }
Property Value
SupportedUILanguages
The Supported UI Languages for the Provisioning Template
Declaration
public SupportedUILanguageCollection SupportedUILanguages { get; }
Property Value
TemplateCultureInfo
The default CultureInfo of the Provisioning Template, used to format all input values, optional attribute.
Declaration
public String TemplateCultureInfo { get; set; }
Property Value
String
|
Tenant
The Tenant-wide settings for the template
Declaration
public ProvisioningTenant Tenant { get; set; }
Property Value
TermGroups
Gets a collection of termgroups to deploy to the site
Declaration
public TermGroupCollection TermGroups { get; }
Property Value
Theme
Version
Gets or sets the Version of the Provisioning Template
Declaration
public double Version { get; set; }
Property Value
System.
|
WebSearchSettings
The Web level Search Settings for the Provisioning Template
Declaration
public String WebSearchSettings { get; set; }
Property Value
String
|
WebSettings
The Web Settings of the Provisioning Template
Declaration
public WebSettings WebSettings { get; set; }
Property Value
Workflows
Defines the Workflows to provision
Declaration
public Workflows Workflows { get; set; }
Property Value
Methods
Equals(ProvisioningTemplate)
Compares ProvisioningTemplate object based on ComposedLook, ContentTypes, CustomActions, SiteFeature, WebFeatures, Files, Id, Lists, PropertyBagEntries, Providers, Security, SiteFields, SitePolicy, Version, Pages, TermGroups, Workflows, AddIns, Publishing, Loaclizations, WebSettings, SiteWebhooks, ClientSidePages, Tenant, and SiteSettings properties.
Declaration
public bool Equals(ProvisioningTemplate other)
Parameters
Provisioning ProvisioningTemplate object |
Returns
System. true if the ProvisioningTemplate object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with ProvisioningTemplate
Declaration
public override bool Equals(object obj)
Parameters
System. Object that represents ProvisioningTemplate |
Returns
System. true if the current object is equal to the ProvisioningTemplate |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System. Returns HashCode |
ToXML(ITemplateFormatter)
Serializes a template to XML
Declaration
public string ToXML(ITemplateFormatter formatter = null)
Parameters
ITemplate ITemplateFormatter object |
Returns
System. Returns XML string for the given stream |