Expand Minimize

SPD010705: SiteDefinition Template references Feature in VisibilityFeatureDependency

SiteDefinition Configuration can reference Features in attribute VisibilityFeatureDependency

CheckId SPD010705
TypeName SiteTemplateConfigurationReferencesVisibilityFeatureDependency
Severity Information
Type Configuration

The following example from webtempsps.xml shows that template "CMSPUBLISHING#39" is only visible if Feature "SharePoint Server Publishing Infrastructure" is activated:

<?xml version="1.0" encoding="utf-8"?>
<Templates xmlns:ows="Microsoft SharePoint">
  ...
  <Template Name="CMSPUBLISHING" ID="39" >
    <Configuration
      ID="0"
      Title="Publishing Site"
      Hidden="FALSE"
      ImageUrl="/_layouts/images/stpb.png"
      DisplayCategory="Publishing"
      ...
      VisibilityFeatureDependency="F6924D36-2FA8-4f0b-B16D-06B7250180FA" >
    </Configuration>
  </Template>
  ...
<Templates>

Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of RENCORE AB. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.