Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible to add more levels in Content -> Levels to show in the OOTB Table of Contents web part? Could this be edited in some file or do I need to build a custom web part in order to get more levels displayed?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You could try to export the webpart, edit the property 'levelToShow ( <property name="LevelsToShow" type="int">10</property>) and import the webpart again.

You probably want to update the XSL-stylesheet as well, to accomadate for the extra levels.

(Don't change the settings with 'edit webpart' afterwards, you will overwrite the levelsToShow value.)

share|improve this answer
    
Thanks! I initially had problems with exporting the web part (the option didn't show up) but after doing a IISRESET it showed and it worked out just as you suggested. –  K.W Oct 10 '11 at 7:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.