Partager via


Template Element (Site)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a site definition that can be used to create Web sites within the deployment.

<Template
  ID = "Text"
  Name = "Text"
  SetupPath = "Text">
</Template>

Attributes

Attribute

Description

ID

Required Integer. Specifies the ID of the site definition. To avoid conflict with IDs that are natively used in Windows SharePoint Services, use IDs with values greater than 10,000.

Name

Required Text. Contains the name of the template.

SetupPath

Optional Text. Specifies the relative path in the setup directory that contains files used in the site definition, for example, SetupPath="global".

Child Elements

Configuration

Parent Elements

Templates

Occurrences

Minimum: 0

Maximum: Unbounded