We did a test migration from Sharepoint 2007 to SharePoint 2013. There is a Table of contents web part that is being used to display all of the team sites (more than 25). In the SharePoint 2013 version, the TOC web part is not displaying all of the sites. Any ideas of how to make it show all?


According to your description, my understanding is that you want to display all sites in the Table Of Content web part.

There is a limitation of the web part, the maximum number of the items displaying in the web part is 50. If you want to display more 50 items, you need to increase or remove the limitation. You need to go to the web.config file of the SharePpoint site, the path isC:\inetpub\wwwroot\wss\VirtualDirectories\port number, then find all navigation providers, and add DynamicChildLimit attribute to each one . More information, please refer to the link below:

Note: before changing web.config, please make a backup for the file.

After the above, if your issue still exists, please open your site->Site Settings->Navigation, change the value from 20 to [whatever number you want to display] in the “Current Navigation”section. More information, please refer to the link: