Global UI Page

Mohammad Hanif
Kilo Contributor

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

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

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

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

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);
}

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

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

The UI page in global scope , but i want to call it from my scope application to open it in GlideDialog

 

Right now it show not found