UI Action not working in agent workspace for dialog window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 04:50 AM
Created a UI Action on incident table to display popup for problem.
It is working in normal UI but not in Agent Workspace. Also, need to set the parent of problem to incident.
function showMyForm() {
var sysID = g_form.getUniqueValue();
//Create and open the dialog form
var dialog = new GlideDialogForm('Create problem', 'problem'); //Provide dialog title and table name
dialog.setSysID(-1); //Pass in sys_id to edit existing record, -1 to create new record
dialog.addParm('sysparm_view', 'default'); //Specify a form view
dialog.addParm('sysparm_form_only', 'true'); //Add or remove related lists
dialog.setLoadCallback(function(iframeDoc) {
// To get the iframe: document.defaultView in non-IE, document.parentWindow in IE
var dialogFrame = 'default' in iframeDoc ? iframeDoc.default : iframeDoc.parentWindow;
dialogFrame = null;
});
dialog.render(); //Open the dialog
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 05:00 AM
Hi Mr,
Please verify if you checked the below check box
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 05:10 AM
Yes the box is checked but we have to write some code in order so that it works in workspace too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2022 08:18 AM
Still I am looking for some solution on this.
Glide DialogWindow not working in Agent workspace

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2022 12:56 AM
Hello,
what replaces DialogWindow in Agent workspace ?