Xrm.Page.ui.navigation item (client-side reference)

 

Applies To: Dynamics CRM 2013

Each item represents one of the available navigation options available in the navigation bar for entities that have been updated to the new user experience or on the left side of the form for entities that have not been updated.

System_CAPS_noteNote

These methods do not work with Microsoft Dynamics CRM for tablets.

getId

Returns the name of the item.

Label

Get or change the label for a navigation item using the getLabel and setLabel methods.

setFocus

Sets the focus on the item.

Visible

Determine which navigation items are visible and show or hide them using the getVisible and setVisible methods.

Returns the name of the item.


navigationItemobj.getId()
Return Value

Type:String

Get or change the label for a navigation item using the getLabel and setLabel methods.

Returns the label for the item.


navigationItemobj.getLabel()
Return Value

Type: String

Sets the label for the item.


navigationItemobj.setLabel(string)
Arguments

String: the new label for the item.

Sets the focus on the item.


navigationItemobj.setFocus()

Determine which navigation items are visible and show or hide them using the getVisible and setVisible methods.

Returns a value that indicates whether the item is currently visible.


navigationItemobj.getVisible()
Return Value

Type: Boolean

Sets a value that indicates whether the item is visible.


navigationItemobj.setVisible(bool);
Arguments

Boolean: Whether the item is visible.

Show: