UI Action to open UI Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 09:15 AM
Hey all,
I have a UI Action that I need to open an UI page, but seems to do nothing. I know the sys_id is present, but won't open the page.
var test = g_list.getChecked();
if (test == '') {
g_form.addErrorMessage('Selection required from Materials Request list to proceed.');
} else {
g_form.addErrorMessage('Wait ' + test);
var gr = new GlideRecord('u_pick_ticket');
gr.addQuery('parent', test);
gr.query();
if (gr.next()) {
var url = '/x_nuvo_eam_PickTicket.do?sysparm_pt_id=' + gr.sys_id;
var w = getTopWindow();
w.popupOpenFocus(url);
}
}
I know the ui page works, as a similar action also exists directly on the form. Are there limitations to this cross-scope? Is a requirement for this to be server or client-side? I tried both client side and server side with the same results, notta.
Any thoughts?
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 10:20 AM
Hi Wade,
Take a look at this and see if it helps: