How to Open a new record in main tab in Service Operations Workspace upon clicking on a UI Action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I am trying to open a new record in the Service Operations Workspace.
I have created a declarative action - Create Alert which is implemented as a client script.
I have written this code in the Client Script
function onClick() {
var con = confirm("Test message");
tableName = "incident";
sysId = "a83820b58f723300e7e16c7827bdeed2";
g_aw.openRecord(tableName, sysId);
}
Above code open the Record.
But I want the record to be opened in the tab next to the record from where the button is clicked.
e.g - from below screenshot INC0008111 should be next to INC0009003 instead of next to the Details tab from INC0009003
Does anyone know how to achieve this?
Thank you!
0 REPLIES 0
