UI Action/Client Side/Workspace Client Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 01:24 PM
I am using the following script in a UI Action that is client side to open a specified URL in a new tab which works.+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 06:09 PM - edited 02-06-2025 06:14 PM
Hi! If I'm understanding your requirement, I believe you're looking for the GlideAgentWorkspace API. The particular function that performs what you're looking for is: g_aw.openRecord()
Here's the documentation for the api along with function examples: https://developer.servicenow.com/dev.do#!/reference/api/xanadu/client/GlideAgentWorkspaceAPI
Alternatively, this thread might have better info for you: https://www.servicenow.com/community/csm-forum/agent-workspace-how-to-open-a-ui-action-in-a-sub-tab-...
If I've at all helped, please return the favor by clicking the thumb next to my post. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 07:15 PM
Did you check any OOB UI action which does this?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader