Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Table of Contents webpart 50 site limit

Last post 05-09-2008, 2:55 PM by pilkentonc. 2 replies.
Sort Posts: Previous Next
  •  06-22-2007, 7:01 AM 27307

    Table of Contents webpart 50 site limit

    Hi All,

    just in case you come across this limit like I did, here is the fix.

    The no. of sites shown by the TOC web part is controlled through the Web.config file of the web application.  Made the following entry in the web.config file and this resolved the issue.

     

    ============

    Open web.config and look for the following lines:

     

            <add name="GlobalNavSiteMapProvider" description="CMS provider for Global navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=13.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" NavigationType="Global" EncodeOutput="true" />

            <add name="CombinedNavSiteMapProvider" description="CMS provider for Combined navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=13.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" NavigationType="Combined" EncodeOutput="true" />

            <add name="CurrentNavSiteMapProvider" description="CMS provider for Current navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=13.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" NavigationType="Current" EncodeOutput="true" />

            <add name="CurrentNavSiteMapProviderNoEncode" description="CMS provider for Current navigation, no encoding of output" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=13.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" NavigationType="Current" EncodeOutput="false" />

     Add the following attribute to each provider definition: DynamicChildLimit="<Integer>" (0 indicates no limit).

     e.g.

             <add name="GlobalNavSiteMapProvider" description="CMS provider for Global navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=13.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" NavigationType="Global" EncodeOutput="true" DynamicChildLimit="75" />

     

    And likewise for each of the definitions shown above.

    ============

    Mike

  •  02-07-2008, 3:33 PM 29253 in reply to 27307

    Re: Table of Contents webpart 50 site limit

    Thanks for this tip! I used it and a tip from another site to set my DynamicChildLimit="0" (no limit) and it worked like a charm!
  •  05-09-2008, 2:55 PM 29653 in reply to 27307

    Re: Table of Contents webpart 50 site limit

    This is great advice, thanks.

    I would add that this adjustment to the XML is done in the IIS web.config (C:\inetpub\wwwroot\wss\VirtualDirectory\something.site.com80) for EACH front-end server, not the SharePoint web.config file (C:\Program Files\Common Files\Microsoft Shared\web server extension\12\CONFIG\).  Because the server will now detect that the files have been changed, an IISReset will happen and each user will get a 'fresh copy' of the SharePoint site.

     

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Maximize Your SharePoint Investment: Get Your Data MovingJoin us as we take a look at the complex business of securing, accessing and managing vast amounts of information in a global network and various ways to get your data moving. Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. Free Technology Resource Directory ListingPost your free listing in this comprehensive directory for IT and developer professionals, powered by Windows IT Pro. But hurry! Deadline ends Oct. 9. SharePoint Conections event returns to Las Vegas Nov 10 - 13Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. It is co-located with Microsoft ASP.NET, SQL Server and Windows Connections with over 250 in-depth sessions. Ease Your Scripting Pains with the Flexibility of PowerShell!Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!