- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2017 08:13 AM
Trying to open GlideDialogWindow from UI Action in scoped application from Incident form. Get "page not found" error inside modal window.
UI Action has only client-side code.
UI Action code:
function onTranslateIncidentNoutes() { | |
var dialog = new GlideDialogWindow("my_unique_dialog");
dialog.setTitle("Translated comments and work notes");
dialog.setSize(750, 750);
dialog.setPreference("incident_id", g_form.getUniqueValue());
dialog.render();
return false; |
}
UI Page name: my_unique_dialog.
UI Page category: General
UI Page Direct - unchecked
UI Page HTML:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:evaluate var="jvar_id" expression="RP.getWindowProperties().get('incident_id')"/>
<p>$[jvar_id]</p>
</j:jelly>
Error screenshot:
As I understand system couldn't find my UI Page. But I don't understand why?
What I've missed?
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2017 06:28 AM
Hi Yarick,
Using the endpoint in my above screenshot worked in my test case like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 03:54 AM
Totally useless and ignorant reply, gj Brad!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 06:43 AM
@Stefan Petkovic I'm lost, what was this in reference to?