Export (0) Print
Expand All

Feature/Site Template Associations

Windows SharePoint Services 3

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.

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