共用方式為


<NavBarByRelationshipItem> (FormXml)

適用於: CRM 2015 on-prem, CRM Online

指定實體表單中與實體關聯相關的導覽項目。

語法

<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>

屬性和元素

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

屬性

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 CRM 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

子元素

Element Description

<Privileges> (FormXml)

包含使用者所需的權限集合,以便在表單中顯示導覽項目。

<Titles> (FormXml)

包含 Title 元素的定義。

<ToolTip> (FormXml)

為表單導覽項目中的工具提示指定顯示字串。

上層元素

Element Description

<NavBar> (FormXml)

代表新增至詳細資料表單視窗內導覽窗格之項目的容器。

元素資訊

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or 1

XPath

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

請參閱

概念

自訂實體表單

其他資源

Form XML reference

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