Extending the 50-site limit in SharePoint's Site Directory

written by miles on Thursday, February 07 2008

Today while at work I was working to clean up our intranet's site directory in SharePoint. I noticed that the Site Map (a Table of Contents web part) was only listing 50 sites. Since I knew there were more and that this was probably the result of some inherent limit to the web part, I dug around and found this post which explains how to modify your web.config.

It basically boils down to adding a property DynamicChildLimit="XX" to the following entries in the siteMap providers section of the web.config file, where XX is 0 (no limit) or whatever numeric limit you decide. By default it is 50.

(The web.config file to modify is usually located in C:\Inetpub\wwwroot\wss\VirtualDirectories\80, with the last portion being whatever port number MOSS is running from).

 

<siteMap ...>
<providers>
        <add name="GlobalNavSiteMapProvider" description="CMS provider for Global navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Global" EncodeOutput="true" DynamicChildLimit="0" />
        <add name="CombinedNavSiteMapProvider" description="CMS provider for Combined navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Combined" EncodeOutput="true" DynamicChildLimit="0" />
        <add name="CurrentNavSiteMapProvider" description="CMS provider for Current navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Current" EncodeOutput="true" DynamicChildLimit="0" />
        <add name="CurrentNavSiteMapProviderNoEncode" description="CMS provider for Current navigation, no encoding of output" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Current" EncodeOutput="false" DynamicChildLimit="0" />
</providers>
</siteMap>

Similar Posts

  1. Why can't I see IIS on my SharePoint Server?
  2. Graffiti CMS 1.1
  3. Well... crap.

Post a comment

Options:

Size

Colors