This documentation is archived and is not being maintained.

Example 3 - Customizing the top link bar

SharePoint Team Services 1.1

To add a new item to the top link bar of your SharePoint team Web site, do the following:

  1. In the Program Files\Common Files\Microsoft Shared\web server extensions\50\Templates\1033\xml directory, open ONET.XML.
  2. At the top of the ONET.XML file, find the TopMenuItems section. The first item listed in the collection corresponds to the item that appears farthest to the left on the link bar.
  3. Add a new node where you would like the new item to appear on the link bar, including the file name of the page you want to link to, such as follows:
    <TopMenuItem Name="NewNavigationItem" DisplayName="New Navigation Item" Url="_layouts/NewNavigationItem.htm"/>

    Note   The URL is relative to the root of the SharePoint team Web site.

  4. Add your new page to the Program Files\Common Files\Microsoft Shared\web server extensions\50\Templates\1033\Layouts directory.
  5. Create a new subweb.

    All new sites will contain your new page in their individual _layouts folder within the wwwroot directory, and the top link bar will now include a link to the new page.

See Also

Introduction — What Is CAML?

Location of CAML


Show: