<externaldependencies> (FormXml)


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

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


 <dependency />

Attributes and Elements

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


This element has no attributes.

Child Elements



<dependency> (FormXml)

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

Parent Elements



<form> (FormXml)

Contains the definition of a form.


The <dependency> (FormXml) element is a required child of this element.

External dependencies are set in the form properties Non-Event Dependencies tab. Each event has an area where dependencies may be recorded that are specific to that event. External dependencies are not related to a specific form or field event. For example, if you are setting the default value of a field by using a query string to open a form for a new record, or if the target of an IFrame or a Web Resource dialog reads data from the form.

Element Information

Schema Type


Validation File


Number of Occurrences

0 or 1



See Also

Customize entity forms
Form XML reference
Set field values using parameters passed to a form

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright