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 set the current navigation to "Display the same navigation items as the parent site" using object model? If yes, how?

publishingWeb.Navigation.thenwhat?

share|improve this question

1 Answer 1

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

 
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.