NavBarPage element (Module)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Provides information about the file specified as the home page in a module so that other pages can be linked to the page.

Definition

<NavBarPage
  ID = "Integer"
  Name = "Text"
  Position = "Text">
</NavBarPage>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

**ID**

Required **Integer**. Specifies the ID for the page.

**Name**

Required **Text**. Specifies the text that appears in the navigation area of other pages that link to the page.

**Position**

Optional **Text**. Specifies the position of the UI element represented by the **NavBarPage** element with respect to the top navigational area on a page. Possible values include the following:

  • **Start** — add the node at the start (left/top in English) of the top navigational area.

  • **End** — add the node to the end (right/bottom in English) of the top navigational area. Default.

  • **Number between 1001 and 2000** — add the node after (right/below in English) another **NavBarPage** element whose ID matches the specified value.

Child elements

None

Parent elements

File

Occurrences

Minimum: 0

Maximum: 1

See also