Поделиться через


<NavBarByRelationshipItem> (FormXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies a navigation item in an entity form that is associated with an entity relationship.

Syntax

<NavBarByRelationshipItem
 Area= ["Details" | "Info" | "Sales" | "Service" | "Marketing" | "InternetMarketing" | "Processes"]
 AvailableOffline=["0" | "1" | "true" | "false"]
 Client="String"
 Icon="String"
 Id="String"
 RelationshipName="String"
 Sequence="Non Negative Integer"
 Show=["0" | "1" | "true" | "false"]
 TitleResourceId="String"
 ViewId="String">
 <Privileges />
 <Titles />
 <ToolTip />
</NavBarByRelationshipItem>

Attributes and Elements

The following describes the attributes, child elements, and parent elements.

Attributes

Attribute

Description

Type

Usage

Area

Indicates which Area the relationship will display in. Valid values:

  • Details

  • Info

  • Sales

  • Service

  • Marketing

  • InternetMarketing

  • Processes

String

Optional

AvailableOffline

Indicates whether the navigation item will be show when the user is not connected to the server

Boolean

Optional

Client

Specifies the Microsoft Dynamics 365 clients that will display this navigation item.

String

Optional

Icon

The path to the image or Web Resource that represents the icon.

String

Optional

Id

The unique string identifying the navigation item.

String

Required

RelationshipName

The name of the entity relationship.

String

Required

Sequence

Indicates the order to display the item relative to other items.

Non Negative Integer

Optional

Show

Indicates whether the Navigation Link should be displayed by default.

Boolean

Optional

TitleResourceId

For internal use only.

String

Optional

ViewId

Valid value must match this regular expression:

\{?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}?

String (FormISVGuid)

Optional

Child Elements

Element

Description

<Privileges> (FormXml)

Contains the set of rights that a user needs in order for the navigation item to display in the form.

<Titles> (FormXml)

Contains definitions of Title elements.

<ToolTip> (FormXml)

Specifies the text to display for a tooltip in a navigation item for a form.

Parent Elements

Element

Description

<NavBar> (FormXml)

Represents a container for items added to the navigation pane in a detail form window.

Element Information

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or 1

XPath

//FormXml/forms/systemform/form/Navigation/NavBar/NavBarByRelationshipItem

See Also

Customize entity forms
Form XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright