WebResource Dependencies in Dynamics 365 v 9.0 - CloudFronts

WebResource Dependencies in Dynamics 365 v 9.0


In earlier version of dynamics CRM, there were no way to define dependencies of web resource.  Due to this, it is possible that someone delete/remove WebResource from solution and this may create an instability in behavior of CRM functionality.

But now in dynamics  365 version 9.0. It has ability to define  dependencies of WebResource.


Let’s consider below example. I have 3 web resources-

  1. new_test.js
  2. new_test2js
  3. new_test3.js
  • Here new_test3.js is dependent on new_test.js and new_test2.js. in that case we need to define dependencies.
  • Once dependencies are defined it will not allow to delete WebResource.

Add Dependencies:

If you want to add dependencies in WebResource, you can follow below steps

  1. Open WebResource which is dependent on other WebResource
  2. webResource

  3. Select dependencies tab as shown and click on addWebResource explorer
  4. Select WebResources that are required to present
  5. Save and publish WebResource.
  6. If anyone accidentally tries to delete WebResource. He will receive alert message.
  7. It will list down where this file is needed


By following these steps, you can create WebResource and define dependency of WebResources.

Share Story :