web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Find All References of a JavaScript file

(0) ShareShare
ReportReport
Posted on by 155

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.  

I have the same question (0)
  • Suggested answer
    Rui Carvalho Profile Picture
    on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans