GlideAgentWorkspace (g_aw) - Client
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- API reference
The g_aw API enables a UI Action or client script to open a specified record in an Agent Workspace tab.
There is no constructor for the GlideAgentWorkspace class. Access GlideAgentWorkspace methods using the g_aw global object.
GlideAgentWorkspace - closeRecord()
Closes the currently open record, such as a form, in a subtab within Agent Workspace.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
None |
Example
function onClick(g_form) {
GlideAgentWorkspace - openRecord(String table, String sysId, Object params)
Opens a specified record, such as a form, in a subtab within Agent Workspace.
Type | Description |
---|---|
None |
Example
Open a sys_user record in a subtab.
Example
Open a record in a subtab where all fields are read-only.
Example
Open a record in a subtab and go directly to the "Groups" related list.
Example
Open a record in a subtab but only show the form header and other tabs.