I have a custom JavaScript file in web resources which “seems” like it is no longer needed.
If it is not being used them I would like to remove it., but before I do that I want to make sure that the JavaScript is not being called by anything.
Is there any way to check if a specific JavaScript file is being called anywhere in CRM, sort of like the “Find All References” in Visual Studio.
Hi Gansea,
The only way to know that is by checking the dependencies for the Javascript (Select the javascript on WebResources and click on 'Show Dependencies'). If it is being called on the OnLoad, OnSave or OnChange for a form it will show in which form he is being loaded and used.
If you are calling the javascript within other Javascripts then this is not possible. Because this doesn't cause dependency on the environment.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156