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

SUBSCRIBE to Windows IT Pro Magazine & SAVE 44%      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

Free SharePoint Online Event - May 13Get the facts about Microsoft Office SharePoint Server (MOSS) and Windows SharePoint Services in this free, online event on May 13, 2008. Tech·Ed 2008 Developer and IT ConferencesDon't miss out on the biggest event of the year. Be a part of the Microsoft Tech·Ed North America 2008 experience, starting June 3, 2008. EXCHANGE 2007 Mastery Series – May 29, 20083 Info-packed eLearning seminars for only $99! Learn the pros and cons of your mailbox high availability options, see real-world examples of Transport Rules, and get started with basic PowerShell commands with Mark Arnold, MCSE+M and Microsoft MVP. Attention User Groups & User Group Leaders...Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes. And add Windows IT Pro & SQL Server Mag articles alongside your own message!. Windows IT Pro Master CD: Take the Experts with You!Find the solutions you need in thousands of searchable articles, helpful bonus content, and loads of expert advice with the Windows IT Pro Master CD. Order comes with a 1-year subscription to the new, online articles posted every day! SQL Server Magazine Master CD: Take the Experts with You!Find the solutions you need in thousands of searchable articles, helpful bonus content, and loads of expert advice with the SQL Server Magazine Master CD. Order comes with a 1-year subscription to the new, online articles posted every day!