TemplateFile element (Solution)

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

Specifies a template file to include in the solution.

<TemplateFile
  Location="Text">
</TemplateFile>

Elements and attributes

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

Attributes

Attribute Description
Location
Required Text. Specifies a relative location within the solution that contains the template file.

Child elements

None

Parent elements

Example

For an example of how this element is used, see Solution schema.