Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Can not open UI page from UI action

DIMITRIS IORDAN
Tera Contributor

I have created a simple UI action that creates a GlideModal class and opens a UI page. I havent completed the functionality that I want out of it but right from the start I have a problem opening the UI page. The problem is that when I trigger the UI action there is a message Page not found. 

 

This is the UI action:

1.PNG

2.PNG

 

And the UI page:

3.PNG

 

The result:

4.PNG

Any help would be appreciated!

1 ACCEPTED SOLUTION

kamlesh kjmar
Mega Sage

Hi @DIMITRIS IORDAN ,

 

For calling this page, rather than using name, could you please try using endpoint value as shown in the below screen shot :

 

kamleshkjmar_0-1666957668215.png

Try this :

 

var new_window = new GlideModal("x_818806_zoom_inte_zoom_window") // End point name without '.do'
new_window .render()

 

I Hope this helps.

 

Please mark this helpful if this helps and Accept the solution if this solves your issue.

 

Regards,

Kamlesh

 

 

View solution in original post

3 REPLIES 3

kamlesh kjmar
Mega Sage

Hi @DIMITRIS IORDAN ,

 

For calling this page, rather than using name, could you please try using endpoint value as shown in the below screen shot :

 

kamleshkjmar_0-1666957668215.png

Try this :

 

var new_window = new GlideModal("x_818806_zoom_inte_zoom_window") // End point name without '.do'
new_window .render()

 

I Hope this helps.

 

Please mark this helpful if this helps and Accept the solution if this solves your issue.

 

Regards,

Kamlesh

 

 

Perfect! It works thanks a lot!

You are welcome, I am glad I could help.