Can I use gs.info in a Client Script?

kishorchika
Tera Contributor

Can I use gs.info in a Client Script?

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @kishorchika 

No, mate — you can't use gs.info() in a Client Script. It's server-side only.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Sheldon  Swift
ServiceNow Employee
ServiceNow Employee

Hi @kishorchika - No, gs.info() is a server-side API.

pranita-24
Tera Guru

Hi ,

No you cant use gs.info in client script .
Use gs.log() or console.log()

gs.log() is also a server-side API.