This topic has not yet been rated - Rate this topic

SPContentType.DocumentTemplate Property

Windows SharePoint Services 3
Gets or sets the document template for the content type.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
public string DocumentTemplate { get; set; }

Property Value

A String containing a path to the template.

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

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ