- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2020 07:51 AM
Hello,
I have a UI action that redirects to a URL in a new tab, but it does not seem to be working. When I click it, nothing happens, is my code wrong? I want the sys_id of the current record to be attached to the end of the new tab URL. (See pics below)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2020 08:40 AM
Looks like that may be a scoped application, last I knew "window" was not available in scoped applications but this was a while ago.
Does g_navigation.openPopup(url) work for you instead of window.open?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2020 07:59 AM
Hello,
From looking at the URL...you already have a sys_id associated with that URL...have you checked the URL again to make sure it works for you?
Also...please in the future, paste your code in an actual code sample...not just a screenshot.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2020 08:07 AM
that is the sys_id of the record producer that I am redirecting to, I am also trying to pass the sys_id of the current record at the end of the url with the var sysID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2020 08:09 AM
even when I remove the sysID var and have a regular url it doesn't work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2020 08:32 AM
Can you try just:
window.open('url');
And see if that works, first.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!