Sunday 20 September 2015

Navigation Option was displaying only 50 items

We recently faced an issue while setting up top link bar on our sites, as we were using publishing  sites, we can see Navigation option instead of top link bar on site settings page.

After checking Navigation option we got to know that some of the links were not showing on top link bar and we were unable to change the position of few of the links.

After searching we got to know by default you can see only 50 items on Navigation items and if you want to increase it, there is a procedure to do that..

Below is the procedure to fix this issue :

Locate the web.config file on your server and do the below changes

<add name="CombinedNavSiteMapProvider" description="CMS provider for Combined navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Combined" EncodeOutput="true" />
<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" />
<add name="CurrentNavSiteMapProviderNoEncode" description="CMS provider for Current navigation, no encoding of output" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Current" EncodeOutput="false" />
Add a DynamicChildLimit="0" before the end tag "/>" on each line to disable the default 50elements limit:
Thanks !

No comments:

Post a Comment

Hide Time from events in Calendar list or webpart Use below code in content edit webpart or by editing list page in SharePoint designer ...