Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DocumentTemplate Element (ContentType)

Windows SharePoint Services 3

Specifies the document template for the content type. This is the file which Windows SharePoint Services opens as a template when a user requests a new item of this content type.

Attribute Description


Optional Text. Specifies the path to the document template. This path can be absolute, relative to the server base URL, or relative to the content type's resource folder.

Minimum: 0

Maximum: 1

The following example specifies a document template for a content type. In this case, the path specified is relative to the server base URL.

  <DocumentTemplate TargetName="/_layouts/NewCTDoc.aspx" />
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.