共用方式為


SP.List.documentTemplateUrl Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

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

var value = SP.List.get_documentTemplateUrl(); 
SP.List.set_documentTemplateUrl(value);

Property Value

Type: String

Applies To

SP.List Class

Remarks

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

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace