共用方式為


<NavBarItem> (FormXml)

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

指定要在表單中顯示的導覽項目。如果導覽項目未與實體關聯相關,請使用此元素。

語法

<NavBarItem
  Area = ["Details" | "Info" | "Sales" | "Service" | "Marketing" | "InternetMarketing" | "Processes"]
  AvailableOffline=["0" | "1" | "true" | "false"]
  Client= ["Web" | "Outlook"]
  Icon="String"
  Id="String"
  PassParams="Unsigned Byte"
  Sequence="Non Negative Integer"
  Url="String" >
  <Titles />
 </NavBarItem>

屬性和元素

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

屬性

Attribute Description Type Usage

Area

Specifies which area to include the element. See Remarks.

String

Optional

AvailableOffline

Specifies whether the item should be displayed while the user is not connected to the server. The default is ‘true’.

Boolean

Optional

Client

Specifies the intended client for the control.

Valid Values:

Web

Outlook

String

Optional

Icon

Specifies the image Web Resource to be displayed. The icon should be 16x16 pixels.

String

Required

Id

A unique id for the item.

String

Required

PassParams

Valid Values:

0 = do not pass parameters [default]

1 = pass parameters

Unsigned Byte (FormCRM_Boolean)

Optional

Sequence

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

Non Negative Integer

Optional

Url

Specifies the URL or Web Resource to display.

String

Optional

子元素

Element Description

<Titles> (FormXml)

包含 Title 元素的定義。

上層元素

Element Description

<NavBar> (FormXml)

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

備註

For each entity there is an Area attribute on the navigation area. This corresponds to the expandable areas in the navigation pane on a form. You can add a new NavBarItem to each area described here.

The possible values are shown in the following table.

Area value Description

“Info” or “Details”

The item is added under Common. This is the default.

Sales

The item is added under Sales.

Service

The item is added under Service.

Marketing

The item is added under Marketing.

InternetMarketing

The item is added under Internet Marketing.

Processes

The item is added under Processes.

元素資訊

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 to 100000

XPath

//FormXml/forms/systemform/form/Navigation/NavBar/NavBarItem

請參閱

概念

自訂實體表單

其他資源

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.