DocumentLibraryTemplate element (List)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used in the wire protocol that the server uses to export list metadata to the SharePoint Designer client. This element specifies which file serves as the template document for a document library.
<DocumentLibraryTemplate>
</DocumentLibraryTemplate>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
None
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Example
The following example indicates that the document library whose schema is currently being retrieved has MyDocLib/Forms/template.htm as its template:
<List>
<MetaData>
...
<DocumentLibraryTemplate>MyDocLib/Forms/template.htm
</DocumentLibraryTemplate>
...
</MetaData>
</List>