How to make the OOB 'Update' UI action on Case form work same in CSM Configurable Workspace

Rajat Gupta6
Tera Guru

How to make the OOB 'Update' UI action on Case form work same in CSM Configurable Workspace? I used below code to run the Server side of the UI action in workspace client script but not sure how to run the client side. 

 

function onClick(g_form) {
    var actionName = g_form.getActionName();
	alert(actionName);
    g_form.submit(actionName);
}

RajatGupta6_2-1728035392821.png

 


The client side opens up a UI page in a modal. While I am aware that GlideModal does not work in workspaces and we need to use g_modal.showFrame() but looks like 

g_form.modifiedFields and g_form.modified
too does not work in workspace client script and I could not find any alternate/workaround for this. Has anyone been able to make this UI action work in workspace exactly the same way as in native UI? or any ideas please?
 
0 REPLIES 0