- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2025 01:03 PM
While creating a new UI page to test out the GlideAjax API, I was trying to add console.log() method to the callback method in the Client Script. But, it is not allowing me to do so and keeps popping up as a problem.
Kindly provide a solution of what is the other way to do the same. I'm currently using ServiceNow Xanadu instance.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2025 04:16 PM
Try jslog() instead as it is recommended in the Best Practises.
// generic JavaScript logging
console.log('Response payload: ' + response);
// ServiceNow client side JavaScript logging
jslog('Response payload: ' + response);
