When creating a Site Definition in Visual Studio, how do I make sure that the new site created from this definition will display the same global navigation as the parent web in SharePoint 2010?

1 Answer 1


You can control this with the publishing navigation feature. Take a look at the InheritGlobalNavigation key.

 <Feature ID="541F5F57-C847-4e16-B59A-B31E90E6F9EA">
      <Properties xmlns="http://schemas.microsoft.com/sharepoint/">
      <Property Key="InheritGlobalNavigation" Value="true"/>
      <Property Key="ShowSiblings" Value="true"/>
      <Property Key="IncludeSubSites" Value="true"/>

  • is this placed in the onet.xml? and is the id the feature GUID? Jul 25, 2012 at 13:36
  • @NicholasKing Yes and Yes. Feb 18, 2013 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.