Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
Did you create the site template through code or just reused an existing site template ? –  Arko D Jul 17 '12 at 5:42
add comment

1 Answer

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.

share|improve this answer
    
Ronak, please mark this as your answer to put the question in a closed state –  Robert Lindgren Mar 14 at 8:48
add comment

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.