<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 |
---|---|
Contains the dependencies for an event. |
|
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 |
|
See Also
Customize entity forms
Form XML reference
© 2016 Microsoft. All rights reserved. Copyright