UI Page Scope issues

arunamshu1
Kilo Explorer

I have a UI page created in an Custom Application.

I'm trying to access the UI page via UI Action. But getting an error saying "Page does not exist".

If I create a similar page in Global Application, Then its working.

How can I make a UI Page created in an custom application accessible from a scoped application using UI action?

9 REPLIES 9

killswitch1111
ServiceNow Employee
ServiceNow Employee

Arunamshu,



What are you using to reference the UI Page?   Are you using just the UI page name, or the scoped name?   Can you open it in the browser outside of a UI Action?



When referencing a UI page in a scoped application, if the name is my_ui_page.   Then to open it it would like like my_scope_name_my_ui_page.do


Hi Chris,



Thanks for the reply.



My UI Page name is : kitkat


Endpoint name: x_temal_uitest_cat_kitkat.do



In my UI action, i have created a button. I'm trying to define a glide dialog popup which will redirect to the above UI page. I have tried both with UI page name as well as endpoint name. Not working.



Below is the code I'm using:



var dialog = new GlideDialogWindow('x_temal_uitest_cat_kitkat.do');


dialog.render();




Error: Page not found.


Little late, but looks like this was close.   For GlideDialogWindow, you just need to omit the ".do" off the UI Page name.   Still need the scope name though.


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Arunamshu,



I agree with Chris. Basically you need to access the UI page via end point field on the UI page you have created.