Archive

Archive for June, 2009

Role of DynamicChildLimit in MOSS Navigation

June 2nd, 2009 59 comments

Recently, we were working on a project where pages libraries has hundreds of pages. We have noticed that in left navigation and on modify navigation pages, it was not showing all the pages. Actually, MOSS navigation site map providers returned 50 items by default. if you want to see all the pages, you need to set the PortalSiteMapProvider property of DynamicChildLimit = 0 in web.config.

It will be like this

<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″ IncludePages=”PerWeb” IncludeHeadings=”true” IncludeAuthoredLinks=”true” />

 

Referenced from Chris Richard’s blogs Increased performance for MOSS apps and MOSS Navigation Deep-Dive .

Categories: MOSS Tags: , ,