- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 12:57 AM
Hi Team,
After writing the script, is there a way to validate ( like, complier we get in C++ or Java).. Between I also see something on the client script window. could someone advice is it the one that I am looking for it. Please see the attachement.
Thanks in advance.
Vishwa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 06:05 AM
Hi Vishwa! Client scripts can be validated using features such as Script Tracer. Alternatively, jslog within the browser's console is a quick and easy way to check your script.
Check this documentation for more in-depth information: https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/script/debugging/concept/script-deb...
Let me know if this helps!
If I've at all helped, please return the favor by clicking the thumb next to my post. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 06:05 AM
Hi Vishwa! Client scripts can be validated using features such as Script Tracer. Alternatively, jslog within the browser's console is a quick and easy way to check your script.
Check this documentation for more in-depth information: https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/script/debugging/concept/script-deb...
Let me know if this helps!
If I've at all helped, please return the favor by clicking the thumb next to my post. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 12:07 AM
Thank you very much for the update. Found the script Tracer as your suggestion.. But, I am not able to find which line or syntax has an error.. lets say, in C++, we have complier, when we run it shows errors like syntax error, invalid function at line no or colon or semi colon are missing, like that, so we go and recheck... or I am not using script tracer correctly.