Partilhar via


DocumentLibraryTemplate Element (List)

Applies to: SharePoint Foundation 2010

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>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

Metadata

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>

See Also

Reference

DocumentTemplate Element (Site)

DocumentTemplates Element (Site)