
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2018 08:28 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2018 11:51 PM
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:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2018 11:51 PM
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:
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2018 01:19 AM
Thank you, the problem was I created a UI Page under my scoped application!