<dependency> (FormXml)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

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

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: