DocumentTemplateFile element (Site)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Contains a reference to a file that is used within a document template.

<DocumentTemplateFile
  Default = "TRUE" | "FALSE"
    Name="Text"
  TargetName="Text">
</DocumentTemplateFile>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Default
Optional Boolean. TRUE to specify that the template file is the default file.
Name
Required Text. The full path to the template file.
TargetName
Required Text. The full path to the target

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: Unbounded

Remarks

For an example that shows how to use the DocumentTemplateFile element, see DocumentTemplates.