Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to use \$sp.getValue() and \$sp.getWidget()

sougatac
Giga Contributor

Please give me a simplest example how these two API s work.

Any help/ support will be highly appreciated.

thanks,

ServiceNow TestUser

4 REPLIES 4

Harsh Vardhan
Giga Patron

why use timeout. isn't it a good practice?

Shishir Srivast
Mega Sage

Hello,



You may find this helpful with example how to use.


Embedded widgets API reference


Service Portal Widget


sachin_namjoshi
Kilo Patron
Kilo Patron

Please check below documentations for syntax



How to communicate between widgets in Service Portal



Embedded widgets API reference



Regards,


Sachin