
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 07:28 PM
Does anyone know how to output to the log when using UI Builder? I am trying to debug an issue with a scripted property value and would like to output to either the console or servicenow logs but can't seem to get it to work with gs.log or console.log.
Solved! Go to Solution.
- Labels:
-
UI Builder : Next Experience

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 08:16 PM
Nevermind, console.log seems to be working now. Not sure why it wasn't before.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 08:16 PM
Nevermind, console.log seems to be working now. Not sure why it wasn't before.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2022 09:58 AM
Yep, console logging is currently the way to go here.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 08:21 PM
Hi Brad,
console.log will work, kindly check the client state and parm you can use.
https://developer.servicenow.com/blog.do?p=/post/quebec-ui-builder-client-state-scripts-events/
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2023 02:28 AM
console.log is not working on Scripted Property Value Script any thoughts ?