Dela via


<dependency> (FormXml)

 

Applies To: Dynamics CRM 2015

Specifies an attribute that is required by code in an event.

Syntax

<dependency id="String"/>

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

id

Specifies the ID of a field that cannot be removed from the form while the dependency exists.

String

Optional

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<dependencies> (FormXml)

Contains the dependencies for an event.

<externaldependencies> (FormXml)

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

Remarks

With the <externaldependencies> (FormXml) element, at least one dependency must exist. With the <dependencies> (FormXml) element, a dependency is not required.

Example

The following shows an example of the dependency element.

<dependency id="transactioncurrencyid" />

Element Information

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or more

XPath

//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event/InternalHandlers/Handler/dependencies/dependency |
//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event/Handlers/Handler/dependencies/dependency |
//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event/dependencies/dependency |
//FormXml/forms/systemform/form/externaldependencies/dependency

See Also

Customize entity forms
Form XML reference

© 2016 Microsoft. All rights reserved. Copyright