UI Action not working in CSM/FSM configurable workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 07:33 AM
Hi Everyone,
I have created a below UI Action for configurable workspace. Below UI Action is working in other instances but not working one particular instance. I placed alert in UI Action code and gs.info in Script Include. Alert is coming but I cannot see gs.info in logs.
UI Action
Workspace Client Script
function mytask() {
var ar = new GlideAjax('name of script include');
alert("Enetered UI Action");
ar.addParam('sysparm_name', 'setDetails');
ar.addParam('sysparm_sysID', g_form.getUniqueValue());
ar.addParam('sysparm_table', "wm_task");
ar.addParam('sysparm_contact_sysID', g_form.getValue('caller'));
ar.getXMLAnswer(setURLCallback);
function setURLCallback(response) {
//var newwin= top.window.open(response, '_blank');
var newWin = top.window.open(response, '_blank', 'noopener');
newWin.opener = null;
}
}
Please guide me with above issue.
Thanks in advance
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 02:29 AM
Hi @Abhijit Das7 ,
Check if your Script Include accessible from All Application Scopes ?
If this helps, mark it as Helpful & Correct!