- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 12:34 PM
Hi,
I am referencing a UI page in my catalog client script. However, the client script (using GlideDialogWindow) cannot find my UI script for some reason.
Here is my catalog client script:
And here is my UI page that it is looking for:
Whenever I click the submit button on my record producer to trigger my catalog client script, a "page not found" window flashes up for a brief second.
I'm just trying to do what they do here:
GlideDialogWindow - Terms and Conditions Acceptance Page - ServiceNow Guru
Thanks for the help!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 01:43 PM
See the name in the "Endpoint" field? Use that (minus the .do)
Best practice is to use underscores in the page name instead of spaces (mentioned earlier.) The endpoint is really the part that matters though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 01:18 PM
Try removing the spaces in the name of your UI Page and update your Client Script accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 01:22 PM
Tried that, no luck. The problem is I'm not sure how to debug this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 01:30 PM
I believe this is the issue of application scope. From which application scope are you trying to access this UI page?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 01:45 PM
Hi Lightblu,
You have to pass end point name of the UI page in GlideDialogWindow( i.e scopename_Name of UI page) i.e go to the UI page and check for end point field. Now copy the same and pass this as parameter in GlideDialogWindow.
Please let me know if you have any questions.