SP.List.documentTemplateUrl Property

SharePoint 2010

Last modified: February 09, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To

Gets or sets a value that specifies the server-relative URL of the document template for the list.

var value = SP.List.get_documentTemplateUrl(); 

It must be null if BaseType is not DocumentLibrary. It must not be empty. It must be a URL of server-relative form.