Dela via


<form> (FormXml)

 

Applies To: Dynamics CRM 2015

Contains the definition of a form.

Syntax

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

Attributes and Elements

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

Attributes

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

Child Elements

Element

Description

<Ancestor> (FormXml)

Contains the ID of the updated user experience form that this form was created from.

<clientresources> (FormXml)

Contains files and script objects to be included with the form.

<DisplayConditions> (FormXml)

Contains definitions of any security role membership conditions that must be met to display the form.

<events> (FormXml)

Contains all the event definitions for a cell or form.

<externaldependencies> (FormXml)

Contains dependencies that represent fields that cannot be removed from the form.

<footer> (FormXml)

Displays read-only information at the bottom of a form.

<formLibraries> (FormXml)

Contains the JavaScript libraries that are available in the form.

<formparameters> (FormXml)

Contains definitions of custom parameters that will be accepted by the form.

<header> (FormXml)

Displays read-only information at the top of the form.

<hiddencontrols> (FormXml)

For internal use only.

<Navigation> (FormXml)

Contains definitions of navigation options that appear in the form page.

<RibbonDiffXml> (FormXml)

Specifies custom ribbon actions for a form.

<tabs> (FormXml)

Contains the tab definitions for a form.

Parent Elements

Element

Description

<systemform> (FormXml)

Contains the definition of a form and supporting data.

Element Information

Schema Type

FormType

Validation File

customizationSolution.xsd

Number of Occurrences

1

XPath

//FormXml/forms/systemform/form

See Also

Customize entity forms
Form XML reference

© 2016 Microsoft. All rights reserved. Copyright