DocumentTemplate Element (ContentType)
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

DocumentTemplate Element (ContentType)

Windows SharePoint Services 3

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.

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.





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" />
© 2015 Microsoft