- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2025 08:25 AM
Hi
I am working on some health scan findings and some of the findings recommendation is to remove the use of DOM in client scripts. The finding identifies the client scripts that need to be worked upon.
Before I make any change to the script, I want to identify where all any given client script is being used in my instance. Is there a way to determine that? Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2025 08:37 AM
Hi @Saquib Mohammed ,
The client scripts are not library scripts and the client script focus one particular business requirement. you just to find out what is being done in the client script and can you avoid DOM and achieve it without it.
they are just focused on problem statement you don't have to worry about where else it's being used because it'll only be used only in one place
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2025 09:16 AM
the client scripts pointed out by health scan will be either on some table in the instance or it would be catalog client scripts
No need to check where it's being used.
client scripts are not reusable things.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2025 08:37 AM
Hi @Saquib Mohammed ,
The client scripts are not library scripts and the client script focus one particular business requirement. you just to find out what is being done in the client script and can you avoid DOM and achieve it without it.
they are just focused on problem statement you don't have to worry about where else it's being used because it'll only be used only in one place
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2025 09:16 AM
the client scripts pointed out by health scan will be either on some table in the instance or it would be catalog client scripts
No need to check where it's being used.
client scripts are not reusable things.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader