Pass url in glideDialogWindow?

Rj27
Mega Guru

Can we pass any url in GlideDialogWindow?

my actual scenario:

Just like when we click on any reference field lookup..a pop up appears with values referring to the table.

Similarly i am trying to use a ui macro and use glidedialog inside it and pass some url which should show me list of values.

I have used this:

var w = getTopWindow();
w.popupOpenFocus(url, 'related_list', 200, 300, '', false, false);

this is working fine but it's opening a new tab.I want it like a popup that's why trying to use glidedialogwindow

Is this feasible?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Rj27 

I believe GlideDialogWindow only accepts the ui page name or show_list

Refer below links for help

GlideDialogWindow

GlideDialogWindow : Help to open in a new window

 

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Rj27 

I believe GlideDialogWindow only accepts the ui page name or show_list

Refer below links for help

GlideDialogWindow

GlideDialogWindow : Help to open in a new window

 

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

Thanks for providing me the links.
Second link helped me to solve my question.

Ankur Bawiskar
Tera Patron
Tera Patron

@Rj27 

Hope you are doing good.

Let me know if I have answered your question.

If so, please mark appropriate answer as correct & helpful to close the thread.

If not, please let us know if you need some more assistance.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Rj27 

Glad to know that my comment helped.

If this is resolved please close the thread by marking appropriate response as correct and helpful.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader