WebResource Dependencies in Dynamics 365 v 9.0
Introduction
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.
Description:
Let’s consider below example. I have 3 web resources-
- new_test.js
- new_test2js
- 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
- Open WebResource which is dependent on other WebResource
- Select dependencies tab as shown and click on add
- Select WebResources that are required to present
- Save and publish WebResource.
- If anyone accidentally tries to delete WebResource. He will receive alert message.
- It will list down where this file is needed
Conclusion:
By following these steps, you can create WebResource and define dependency of WebResources.
Related posts:
How to add an Entity and fields in Global Search On Dynamics 365 CRM
How to create a SharePoint site and enable Server-Based SharePoint Integration for Document Manageme...
Posting Restriction in Business Central for different users for Purchase and Sales documents
Quality Management Process in Dynamics 365 Supply Chain Management - Part 2