- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 01:17 AM
can you please tell me any table have the log messages used in jslog() method in client script
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 03:48 AM
Hi @sekharksnow ,
You can use alert('<your_message>'); in client scripts.
Please have a look at the below articles for jslog()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 05:11 AM
why not use alert() or console statements to debug?
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 05:24 AM
Hi,
jslog will print messages in browser console.
If you are using Chrome press F12 to open the DevTools. All your messages will be printed under console tab. Make sure you login as Admin in ServiceNow
Thank you,
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 01:18 AM
I don't think it's stored anywhere as compared to system logs
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 03:38 AM
Is there any way to debug client script or catalog client script to define any log messages and these log messages stored in some where.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 03:48 AM
Hi @sekharksnow ,
You can use alert('<your_message>'); in client scripts.
Please have a look at the below articles for jslog()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 05:11 AM
why not use alert() or console statements to debug?
If my response helped please mark it correct and close the thread so that it benefits future readers.