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

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

 

Applies To: CRM 2016 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.

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

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.

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

Type: Boolean. Whether the item is visible.

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show:
© 2016 Microsoft