Compartilhar via


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.

Note

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.

getId

Returns the name of the item.

navigationItemobj.getId()
  • Return Value
    Type: String

Label

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
    String: the new label for the item.

setFocus

Sets the focus on the item.

navigationItemobj.setFocus()

Visible

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
    Boolean: Whether the item is visible.

See Also

Client-side programming reference
Form scripting quick reference
Xrm.Page.ui (client-side reference)
Write code for Microsoft Dynamics CRM 2013 forms
Use the Xrm.Page object model