DocumentTemplate Element (DeploymentManifest)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Represents an instance of a Windows SharePoint Services 3.0 document template object (SPDocTemplate) that is used in a document library.
Definition
DECLARATION
<xs:element name="DocumentTemplate" type="SPDocTemplate" />
USAGE
<SPObject>
<DocumentTemplate
DefaultTemplate="xs:string"
Description="xs:string"
Name="xs:string"
SchemaXml="xs:string"
Type="xs:int"
/>
</SPObject
Type
SPDocTemplate
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Type | Description |
---|---|---|
DefaultTemplate |
xs:boolean |
Optional. Indicates whether the document template is the default template that is used when creating a document library. |
Description |
xs:string |
Optional. Description of the document template. |
Name |
xs:string |
Optional. Name of the document template. |
SchemaXml |
xs:string |
Optional. The XML schema that defines the document template. Represents the document template definition contained in the Onet.xml file for the specified site template. |
Type |
xs:int |
Optional. The type of the document template. The integer value corresponds with the Type attribute specified for the document template in the Onet.xml file for the specified template. |
Child elements
None
Parent elements
SPObject Element (DeploymentManifest)