Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Xrm.Page.ui.navigation item (client-side reference)

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

Applies To: CRM 2015 on-prem, CRM Online

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.

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.

getLabel

Returns the label for the item.


            navigationItemobj.getLabel()
Return Value
Type: String

setLabel

Sets the label for the item.


            navigationItemobj.setLabel(string)
Arguments
Type: 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.

getVisible

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


            navigationItemobj.getVisible()
Return Value
Type: Boolean

setVisible

Sets a value that indicates whether the item is visible.


            navigationItemobj.setVisible(bool);
Arguments
Type: Boolean. Whether the item is visible.

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Show:
© 2015 Microsoft