Open a new record as a sub-tab in Workspace when clicking a UI Action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 05:04 AM - edited 03-05-2025 05:12 AM
Method used : openRecord(String table, String sysId, Object params)
openRecord() - It is a client-side GlideAgentWorkspace API used to open a new record in a sub-tab within Workspace.
Implementation :
Use the following code within a Workspace Client Script in a UI Action:
g_aw.openRecord('name_of_the_table', '-1'); // -1 is used to open a new record
When the action is triggered, a new record form opens in a sub-tab of Workspace :
Reference : GlideAgentWorkspaceAPI#gaw-openRecord
Thank you!
Labels:
- Labels:
-
Workspace : Next Experience
- 732 Views
0 REPLIES 0