The CreatorCon Call for Content is officially open! Get started here.

Tried --> GlideDialogWindow: Advanced Popups Using UI Pages --> <Page Not Found> / Loading...

Simon Ciglia
Giga Guru

I tried to add a Pop-Up according to the following tutorial (Kingston Release)
https://www.servicenowguru.com/system-ui/glidedialogwindow-advanced-popups-ui-pages/

The Dialog appears but the error message is: Page not found...or it stays at Loading...
The name of the UI Page is correct...

 

function commentReason() {
//Get the values to pass into the dialog
var reason_text = g_form.getValue("reason");
//Initialize and open the Dialog Window
var dialog = new GlideDialogWindow('testSic'); //Render the dialog containing the UI Page 'TVDTaskManagementReason'
dialog.setTitle("Add Reason"); //Set the dialog title
dialog.setSize(750,300);
dialog.adjustBodySize();
dialog.setPreference("reason_text", comments_text); //Pass in comments for use in the dialog
dialog.render(); //Open the dialog
}

 

UI Page name

testSic

 find_real_file.png

1 ACCEPTED SOLUTION

Shambhu5
Kilo Guru

Hi Simicc,

I have tried using your UI page content alongwith my UI Action, a dialogbox appears which shows "Additional Comments" Multiple line text, along with Cancel & Ok buttons. This is exactly what you want. Right?

Please find my UI Action Script below:

find_real_file.png

 

Also, please tell me, is this issue with you only in Kingston Release? And on what Version are you working?

Above code worked fine for me.

 

Please hit Correct or Helpful if it somehow helped you resolve your issue.

 

Regards,
Vishrut
find_real_file.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

View solution in original post

6 REPLIES 6

Shambhu5
Kilo Guru

Hi Simicc,

I have tried using your UI page content alongwith my UI Action, a dialogbox appears which shows "Additional Comments" Multiple line text, along with Cancel & Ok buttons. This is exactly what you want. Right?

Please find my UI Action Script below:

find_real_file.png

 

Also, please tell me, is this issue with you only in Kingston Release? And on what Version are you working?

Above code worked fine for me.

 

Please hit Correct or Helpful if it somehow helped you resolve your issue.

 

Regards,
Vishrut
find_real_file.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Simon Ciglia
Giga Guru

Thank you, the problem was I created a UI Page under my scoped application!