Logging in UI Builder

Brad Warman
Giga Sage

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.

1 ACCEPTED SOLUTION

Brad Warman
Giga Sage

Nevermind, console.log seems to be working now. Not sure why it wasn't before.

View solution in original post

4 REPLIES 4

Brad Warman
Giga Sage

Nevermind, console.log seems to be working now. Not sure why it wasn't before.

Yep, console logging is currently the way to go here.

Muralidharan BS
Mega Sage
Mega Sage

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

Community Alums
Not applicable

console.log is not working on Scripted Property Value Script any thoughts ?

 

AmitojWadhera__0-1700476066197.png