WebTemplate Element (DeploymentManifest)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Represents an instance of a Windows SharePoint Services 3.0 Web template (SPWebTemplate) object, which provides the site definition used to create the site, or the name of the site defintion from which the site template used to create the site was derived.

Definition

DECLARATION
<xs:element name="WebTemplate" type="SPWebTemplate" />

USAGE
<SPObject>
        <WebTemplate
                Description="xs:string"
                Id="xs:string"
                ImageUrl="xs:string"
                IsCustomTemplate="xs:boolean"
                IsHidden="xs:boolean"
                IsUnique="xs:boolean"
                Name="xs:string"
                Title="xs:string"
        />
</SPObject

Type

SPWebTemplate object

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Type Description
Description
xs:string
Optional. Provides a description of the specified Web template.
Id
xs:string
Optional. Identifier of the site definition or site template.
ImageUrl
xs:string
Optional. Represents the URL to the image that is used to represent the site definition or site template in the user interface.
IsCustomTemplate
xs:boolean
Optional. Specifies whether the SPWebTemplate object is a site template; that is, a template contained within a .wsp file. The value is true if the SPWebTemplate object is a custom template.
IsHidden
xs:boolean
Optional. Specifies whether the site definition or site template is displayed as an option in the user interface. The value is true if the site template is hidden.
IsUnique
xs:boolean
Optional. Specifies whether the site created using the site definition or site template inherits from its parent website. The value is true if the site does not inherit from its parent website.
Name
xs:string
Optional. Represents the name of the site definition or site template.
Title
xs:string
Optional. Represents the display name of the site definition or site template.

Child elements

None

Parent elements

SPObject Element (DeploymentManifest)|

See also