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

Is it possible to set the current navigation to "Display the same navigation items as the parent site" using object model? If yes, how?


share|improve this question
up vote 1 down vote accepted

Try the InheritCurrent Property

publishingWeb.Navigation.InheritCurrent = True

Other members of PortalNavigation for reference.

share|improve this answer
Your answer is correct however I dont think business unit meant that when they requested this to be enabled. Thanks Again for your prompt help. – Roxanne May 20 '11 at 19:41

Your Answer


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.