Dynamics 365 CRM V9+ New Feature: Dependent Attributes in JavaScript

Prashant Kumar Maurya

Dynamics 365 9.0 has introduced a new feature that enables adding field dependency with a JavaScript web resource. It gives below benefits

  1. It will restrict deletion of field(s) if it is being consumed in a js web resource. In earlier versions user was able to delete field(s) even if it is used in a js logic, and it causes exception in js execution.

  2. Dependent field(s) value will be available on form UI, even if it is not added on form. That’s right you don’t have to fetch its value from CRM now (earlier we have to fetch field(s) value using odata or web API if it is not available on form and its value is needed in js logic.)
  3. js web resources will be shown in field dependencies.

    To add attribute dependencies, follow below steps

    1. Open a web resource (from a solution, this option is not visible if you open…

View original post 52 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.