Share via


DocumentTemplateFile Element (Site)

Applies to: SharePoint Foundation 2010

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

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

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

DocumentTemplateFiles

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

See DocumentTemplates for an example that shows how to use the DocumentTemplateFile element.