SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm creating a sidebar navigation in a Page Layout and one of the items I'd like is a Table of Contents. I got it to work and it's showing the navigation links, however I have to set it up for each page.

I'd like to set up the web part inside the page layout to automatically default to the current site's navigation, not the Site Collection's navigation. What am I doing wrong here? Is there some handy variable like ($weburl)? Maybe something with the checkbox of "Show content from starting location"?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.