Welcome to Office and 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

Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management capabilities with this free SharePoint CD. Top Factors in a Successful Disaster Recovery PlanAre you gambling with disaster? Chances are, you won't ever experience a Level Four disaster, but even the smaller-scale disasters can paralyze business operations unless you've developed a plan for rapidly restoring IT services. SharePointConnections Conference Fall 2008Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay). The Essential Guide to Fax Server SoftwareThis fundamentals eBook will introduce you to the IT benefits of fax servers. Learn how you can better serve your company’s customers while still implementing a solution that is easy to support, secure, and integrate. Rev Up Your IT Know-How with Our Recharged Mag!The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today! Get It All with Windows IT Pro VIPStock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!
Windows IT Pro  Subscribe  Register  About Us  Contact Us/Customer Service  Affiliates / Licensing  Media Kit  SQL  Connected Home  IT Library  SuperSite  FAQ  Wininfo News  Europe Edition  Office Sharepoint Pro  Windows Dev Pro  Windows Excavator 

officesharepointpro.com is a Subsidiary of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing