CHUVASH.eu
  • About
  • Search
X GitHub
Can't add a global site navigation link
Posts

Can't add a global site navigation link

Anatoly Mironov

January 2, 2012

If you encounter problems while customizing global site navigation in a custom site definition for SharePoint 2010, you probably can solve it by adding the necessary navbar element in navbars section of the onet.xml:

<NavBar Name="$Resources:core,category\_Top;"
    Separator="&amp;nbsp;&amp;nbsp;&amp;nbsp;"
    Body="&lt;a ID='onettopnavbar#LABEL\_ID#' href='#URL#' accesskey='J'&gt;#LABEL#&lt;/a&gt;"
    ID="1002" />

It solved the problems for me :).

comments from wordpress

Chilly — 2012-11-03

How did you edit the Onet.XML file? What if this is only happening on one site in a whole site colleciton will this help this site as well. Thanks for any help you can give. This problem is bugging me on one of my sites.


Anatoly Mironov — 2012-11-04

You can only edit onet.xml in a site definition or a web template. And it affects your site only when you create a site.


Chris Auer — 2013-01-05

Saved me a bunch of time. Thanks.


Mallikarjuna — 2013-05-01

Thanks for your solution. Its saved me lot of time

  • Navigation
  • Onet
  • Sharepoint

Related

  • Retention policies
  • Pass arguments from/to Modal Dialog
  • Update list items with listdata.svc
  • ASP.NET Ajax Toolkit
  • Hide my site link with css
  • Sharepoint Warmup Script
  • Batch remove
  • Add stsadm folder to PATH in cmd
  • format javascript date in ISO 8601
  • Get current user and handle a success callback
  • Add content to a provisioned publishing page
  • javascript load callback for UpdatePanel
  • jQuery UI Datepicker
  • Sort a lib when column headers are hidden
  • Push a copy of an object to client
© CHUVASH.eu 2026
X GitHub