0

I have created a webtemplate that I use to provision a sitecollection site which works fine but when I try to add an Heading or link to the Global Navigation through UI it's not working correctly: somehow the links gets removed from the Global Navigation.

Does anyone ever experienced this behavior? What could I have done wrong? is this a know issue/bug?

  • Did you create the site template through code or just reused an existing site template ? – ArkoD Jul 17 '12 at 5:42
2

I solved the problem so I am leaving here the solution that worked for me. In the onet.xml file there is line

<NavBars></NavBars> 

I have replaced it with the following one

<NavBars>
    <NavBar Name="SharePoint Top Navbar" ID="1002"></NavBar>
</NavBars> 

Now its working.

  • Ronak, please mark this as your answer to put the question in a closed state – Robert Lindgren Mar 14 '14 at 8:48

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.