<NavBarItem> (FormXml)

应用到: CRM 2016 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 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.