Export (0) Print
Expand All

Feature/Site Template Associations

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

Feature/site template associations allow you to include a specific Feature as part of a site definition configuration when you provision sites through the definition.

Elements

  FeatureSiteTemplateAssociation

    Property

The following example associates one Feature with two different site definition configurations and another Feature and properties with a third configuration.

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <FeatureSiteTemplateAssociation Id="99FE402E-89A0-45aa-9163-85342E865DC8" TemplateName="PROFILES#0" /> 
  <FeatureSiteTemplateAssociation Id="99FE402E-89A0-45aa-9163-85342E865DC8" TemplateName="CMSPUBLISHING#0" /> 
- <FeatureSiteTemplateAssociation Id="541F5F57-C847-4e16-B59A-B31E90E6F9EA" TemplateName="SRCHCENTERLITE#1">
    <Property Key="IncludeInGlobalNavigation" Value="false" /> 
    <Property Key="IncludeInCurrentNavigation" Value="false" /> 
    <Property Key="InheritCurrentNavigation" Value="true" /> 
    <Property Key="IncludePages" Value="false" /> 
  </FeatureSiteTemplateAssociation>
</Elements>
Show:
© 2014 Microsoft