Global UI Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2022 11:40 PM
Hi All ,
I'm looking to use of the Global UI page in my application , I do try to call the UI Page from my custom application from the UI Action and display it in Dialog Box.
So far , I did not found any solution on this how to display the UI Page.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2022 11:44 PM
Hi,
So what's not working?
UI page is not showing up when button is clicked
When your UI page is in scoped application you need to use the complete endpoint to call it using GlideDialogWindow
Can you share your relevant scripts and screenshots
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2022 12:16 AM
Whenever I call the UI page from my scoped application , it works fine. But , if i call global ui page , it will show page not found in my GlideDialog
var confirmCopyDialog;
function clickshow() {
var dialogClass = (typeof GlideModal !== 'undefined') ? GlideModal : GlideDialogWindow;
confirmCopyDialog = new dialogClass("catalog_home.do", false);
confirmCopyDialog.setPreference("sysparm_id", g_form.getUniqueValue());
confirmCopyDialog.setTitle(new GwtMessage().getMessage("Facility Request"));
confirmCopyDialog.render();
}
if (typeof window == 'undefined')
setRedirect();
function setRedirect() {
action.setRedirectURL(current);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2022 12:30 AM
Hi,
I didn't get
UI page is in scoped app but you are trying to call it from global scope?
What's the error shown?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2022 12:41 AM