title | description | manager | ms.date | ms.audience | ms.topic | ms.localizationpriority | ms.assetid |
---|---|---|---|---|---|---|---|
FeatureSiteTemplateAssociation Element |
Describes the FeatureSiteTemplateAssociation element and provides the definition, elements and attributes, and an example. |
soliver |
06/13/2022 |
Developer |
reference |
medium |
ef7dc9b4-3009-40d8-b15b-24cd60d99d7c |
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Associates the specified Features with the specified site definition configuration so that when websites are provisioned, the Features are automatically included.
<FeatureSiteTemplateAssociation
Id = "Text"
TemplateName = "Text">
<Property
Key= "Text"
Value = "Text">
</Property>
</FeatureSiteTemplateAssociation>
The following sections describe attributes, child elements, and parent elements.
Attribute |
Description |
---|---|
**Id** |
Required **Text**. Specifies the GUID for the Feature. |
**TemplateName** |
Required **Text**. Specifies the name of the site definition configuration. SharePoint Foundation includes the following site definition configurations by default.
Note that WIKI provides a site definition configuration for legacy wiki sites that were originally created in an earlier version of SharePoint Foundation. Because standard site pages on SGS sites are wiki-enabled pages, you do not need to create sites that are specifically for wikis. |
For an example of how this element is used, see Feature/Site Template Associations.