FeatureSiteTemplateAssociation Element (FeatureSiteTemplateAssociation)
Applies to: SharePoint Foundation 2010
Associates the specified Features with the specified site definition configuration so that when Web sites are provisioned, the Features are automatically included.
<FeatureSiteTemplateAssociation
Id = "Text"
TemplateName = "Text">
<Property
Key= "Text"
Value = "Text">
</Property>
</FeatureSiteTemplateAssociation>
Attributes
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. |
Child Elements
Parent Elements
Example
For an example of how this element is used, see Feature/Site Template Associations.