How to show UI page in Dialogbox in Agent Workspace ??

Tarun2
Tera Contributor

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 , 

3 REPLIES 3

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 ,

 

Were you able to make it work?