We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to get the sysid from url and gets its display value via client script

surya123
Mega Guru

hi All

This is the url I have

https://www.myinstance.servicenow/u_tester.do?sysparm_document_key=b346c9c04f29d2006c29f5a18110c7ed

I want to write a on Load client script, which picks up this sysid's display value.

Can you please help me on how to achieve this?

Thanks

Surya

1 ACCEPTED SOLUTION
5 REPLIES 5

Thanks Anurag and Srini.