Share via


DocumentTemplate Element (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents an instance of a Windows SharePoint Services 3.0 document template object (SPDocTemplate) that is used in a document library.

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

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)

See Also

Reference

SPDocTemplate

Concepts

DeploymentManifest Schema

Onet.xml