<form> (FormXml)

应用到: CRM 2016 on-prem, CRM Online

包含窗体的定义。

语法

<form
 addedby="String"
 enablerelatedinformation=["0" | "1" | "true" | "false"]
 hasmargin=["0" | "1" | "true" | "false"] maxWidth="Integer"
 relatedInformationCollapsed=["0" | "1" | "true" | "false"] showImage=["0" | "1" | "true" | "false"] >
 shownavigationbar=["0" | "1" | "true" | "false"] >
 <ancestor/>
 <clientresources />
 <DisplayConditions />
 <events />
 <externaldependencies />
 <footer />
 <formLibraries />
 <formparameters />
 <header />
 <hiddencontrols />
 <Navigation />
 <RibbonDiffXml />
 <tabs />
</form>

属性和元素

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

属性

Attribute Description Type Usage

enablerelatedinformation

Controls whether the Form Assistant is enabled. The default value is false.

Boolean

Optional

relatedInformationCollapsed

Controls whether the Form Assistant pane is expanded by default. The default value is false.

Boolean

Optional

maxWidth

Specifies a maximum width for the form in pixels. This value must be greater than or equal to 400.

Integer

Optional

hasmargin

For internal use only.

Boolean

Optional

addedby

Identifies the name of the ISV or customizer that added the element.

String

Optional

showImage

Controls whether the entity image is displayed. The default value is false.

Boolean

Optional

shownavigationbar

Sets whether the navigation area of the form is displayed.

Boolean

Optional

子元素

Element Description

<Ancestor> (FormXml)

包含更新的用户体验窗体 ID,本窗体根据其创建而成。

<clientresources> (FormXml)

包含要包含在窗体中的文件和脚本对象。

<DisplayConditions> (FormXml)

包含为显示窗体而必须满足的所有安全角色成员资格条件的定义。

<events> (FormXml)

包含单元格或窗体的所有事件定义。

<externaldependencies> (FormXml)

包含表示无法从窗体中删除的字段的依赖项。

<footer> (FormXml)

在窗体底部显示只读信息。

<formLibraries> (FormXml)

包含窗体中可用的 JavaScript 库。

<formparameters> (FormXml)

包含窗体将接受的自定义参数的定义。

<header> (FormXml)

在窗体顶部显示只读信息。

<hiddencontrols> (FormXml)

仅供内部使用。

<Navigation> (FormXml)

包含窗体页中显示的导航选项的定义。

<RibbonDiffXml> (FormXml)

为窗体指定自定义功能区操作。

<tabs> (FormXml)

包含窗体的选项卡定义。

父元素

Element Description

<systemform> (FormXml)

包含窗体定义和支持的数据。

元素信息

Schema Type

FormType

Validation File

customizationSolution.xsd

Number of Occurrences

1

XPath

//FormXml/forms/systemform/form

另请参阅

概念

自定义实体窗体

其他资源

Form XML reference

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