The CreatorCon Call for Content is officially open! Get started here.

Need help to make UI action conflict calendar work in workspace

Community Alums
Not applicable

Hi, all, we have an OOTB UI action for change_request table: conflict calendar, it works great in classic form, but not in workspace form. 

Here is the script I used:

bigguyjun1_0-1710778014314.png

 

I got error: SCRIPT:EXEC Error while running Client Script "GlideScopedScript": ReferenceError: g_navigation is not defined
Please help. Thanks.

7 REPLIES 7

Community Alums
Not applicable

Did anyone get a solution on this? It would be very much appreciated!

Community Alums
Not applicable

@Community Alums  Were you able to implement this?

Community Alums
Not applicable

Apparently this is what worked for me:
In the Workspace Client Script just write:

function onClick(g_form) {
    var sys_id = g_form.getUniqueValue();
    open('$change_request_calendar_view.do?sysparm_changeId=' + sys_id, '_self');
}

Hope this is still useful!