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 some navbarlinks in the onet.xml. However, creation or provision of those publishing pages (aspx that have link in the navbar) happens much later when provision a site. Is there a way to tell onet.xml not to verify the nav bar? These navbarlink shows up (on the provisioned web) but all the way to the bottom (just b/c they are publishing page, not sure). Please suggest.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I'd recommend populating stuff like this in a Feature and have it activated as part of the ONET, rather than trying to provision this stuff within ONET itself. Far easier to manage, easier to update, more portable, and just generally nicer all round.

Here's a link with quite a fair bit of info around doing the navigation within a Feature:

http://www.codeproject.com/Articles/42401/NavBars-If-only-it-was-that-simple.aspx?display=Print

share|improve this answer
    
Thanks bud. –  Monica Contera May 12 '11 at 18:11
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.