- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 03:29 AM
Hello, i have a ui action button with this script. how do i make it so that the url gets opened in a new tab?
createRITM();
function createRITM() {
var tableName = 'alm_hardware';
var viewName = 'registrering_av_hardware_ved_innkjøp'; // give your view name
var po_number = current.u_uh_nr|| '';
var sys_id = current.sys_id || '';
var req_for = current.request.requested_for|| '';
action.setRedirectURL('https://testingnow.com/alm_hardware.do?sysparm_view=registrering_av_hardware_ved_innkj%C3%B8p&syspar...);
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 09:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 09:55 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 07:27 AM
This is correct, but "Client" must be active for this to work.
If this answer was helpful, I would appreciate if you marked it as such - thanks!
Best
Daniel