How to show UI page in Dialogbox in Agent Workspace ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2020 08:04 AM
Hi ,
I have a requirement to show UI Page in Workspace .But Unable to Do so .
I didnt find any way to show Ui Pages Directly in WORKSPACE . so i decided to show them in a new Dialogbox .
* Created a Form Button in Workspace - Onclick() - i am trying to open a DialogBox and Render Ui page in it .
Is that Possible ??
* Atleast Dialog Box is also not Visible in the visible in Workspace .
The below code Display a Dialog Box in Instance , But nothing in Workspace .
var dialog = new GlideDialogWindow("UipageNAME");
dialog.setTitle("UI Page Opened");
dialog.setPreference("sysparm_id", g_form.getUniqueValue());
dialog.render();
KINDLY HELP ME With This .
Thanks ,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2020 09:50 AM
check solution below
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2020 09:35 PM
Hi Sachin,
Your link was Very Helpful .But onclick() -it opens in another tab. Thats so good but ,
But i want show ui page in the same tab , Possible with a Dialog Box .
Do you , how i can make a Dialog Box Popup in Workspace , and Show ui Page in it .
Thanks ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 06:53 AM
Were you able to make it work?