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

SharePoint Security SimplifiedHaving trouble with Permissions in your SharePoint environment? Check out USPM v2007® 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. Simplify Content Migration for SharePointEase the job of SharePoint migration and ongoing site maintenance. Michael Noel outlines your migration options in this white paper. Download today! Prepare Yourself for Exchange CatastropheRead this white paper to learn how you can keep Exchange server healthy, as well as predict and respond to server failure. Featured eBook - Fundamentals of Fax Server TechnologyTake advantage of the benefits of fax servers and find out how you can implement a solution that is easy to support, secure, and integrate. Dramatically Accelerate Microsoft SharePointDeliver unimpeded access to SharePoint - Learn how to fix more than just the symptoms of slow application delivery and poor performance. Protect Your Company’s Digital AssetsDo you know the risks of sending important files over email or FTP? Read this white paper to learn what you can do to safeguard your company’s data. Boost Customer Confidence and SatisfactionRead this eBook to learn how fax servers can ease communication with less computer-savvy customers while reducing your security, compliance, and support woes. Implement a Successful Archiving SolutionView this web seminar to learn the best practices for creating an email archive that is secure, compliant, and searchable.