Home | Blog | Screencasts | Projects
# Sunday, January 25, 2009

I was playing around with setting up the navigation created by a legacy custom site definition. Information posted for my reference more than anything else:

 

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

 

Some of the settable properties are:

The boolean properties:

  • IncludeInGlobalNavigation
  • IncludeInCurrentNavigation
  • InheritGlobalNavigation
  • InheritCurrentNavigation
  • ShowSiblings
  • IncludeSubSites
  • IncludePages
  • SortAscending

The next properties take an enum:

  • OrderingMethod - Automatic, ManualWithAutomaticPageSorting, Manual
  • AutomaticSortingMathod - Title, CreatedDate, LastModifiedDate
Sunday, January 25, 2009 7:42:00 AM (E. Australia Standard Time, UTC+10:00)  #    Comments [0] - Trackback
code | Sharepoint
Statistics
Total Posts: 191
This Year: 4
This Month: 0
This Week: 0
Comments: 41