Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Accessing the sys_id in the widget (but not from the url)

NagalakshmiK
Tera Contributor

The portal opens when the related tab on the Business Application is clicked. A UI action redirects to the portal, passing the sys_id of the Business Application through the URL, allowing the widget to access it. Now, I want to access the sys_id in the widget without showing or passing it in the URL.
How to achieve this?

1 REPLY 1

Kieran Anson
Kilo Patron

Via the URL is the correct approach, it wouldn't be advisable to try and do this via using the browser cache/local storage as that wouldn't align with the development practices of the platform and would hinder possible future administrative support.