The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Problem with displaying glide dialog window

jmcagod
Kilo Guru

Hello,

I am having a problem in displaying glide dialog window that I created in UI action.

I created a new UI Action, followed the instruction from this page

Displaying a Custom Dialog - ServiceNow Wiki

And after that, I went to Incident table, clicked the UI action button, and it just showed me the title of the dialog window.

No list or anything. I also tried, displaying a different table, but it says "Page not found".

Am I doing this right? Do I need a UI Page to display the actual list?

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

HI Jamie,



Please make sure that the UI page called is correct. Basically the error comes when the page name is not correct.


If is scoped app then the UI page name would be the endpoint. I.e the name which is populated on endpoint field on the UI page.


GlideDialogWindow: Advanced Popups Using UI Pages - ServiceNow Guru


This did help - as I am using a "scoped App" and was using the UI Page Name and not the Endpoint. The only thing - I needed to use the Endpoint name without the ".do" suffix.

srinivasthelu
Tera Guru

Hi Jamie,



Can you please share your UI Action code?



Thanks


Srini


popup.PNG


This is the code that I use to create a new UI action, I copied it straight from that page.


Does the "display_incident_list" has to exist in the UI page, because I looked in the UI page, and theres none.


can you explain to me the query? I dont get why they put number!= num (number not equal to number?)


and also, for the setPreference('table', 'incident_list) <--- this is calling the incident_list? It is supposed to show the Incident List?



I have so many questions right now. I just need clarification. Thanks