Toggle Between Platform View and Workspace – UI Action

Handy little UI action to let technicians toggle between the platform & workspace UI.

Script

function onClick() {
    var sow = '/now/sow/record/incident/' + g_form.getUniqueValue();
    open(sow,'_self');
}

Workspace Client Script

function onClick(g_form) {

    var sow = '/nav_to.do?uri=incident.do?sys_id=' + g_form.getUniqueValue();
    open(sow, '_self');
}

When clicked it will open the record in the Service Operations Workspace

And if you click the UI action in the Workspace, it will open the native view.

Latest Posts