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



Try the InheritCurrent Property

publishingWeb.Navigation.InheritCurrent = True

Other members of PortalNavigation for reference.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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