UI Builder open link new tab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 02:30 AM
Hi,
Is it possible for UI Builder to open link in new tab?
Thanks,
Tads
- Labels:
-
Now Experience UI Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 09:34 PM
Thanks Velma, this is what I noticed too.
I'm thinking that if I have a list.
Then if user clicks on one record it will just open in new tab even inside UIB.
For some use cases where user wants to compare to records in the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 12:39 PM
A partial answer: On my List I want to open each link in a new tab. In my Row Clicked handler I select Link to destination and return something like this:
function evaluateEvent({api, event}) {
return {
route: null,
fields: null,
params: null,
redirect: null,
passiveNavigation: null,
title: "anything",
multiInstField: null,
targetRoute: null,
external: {
url: "/x/foo/baz/" + event.payload.table + "/params/sysId/" + event.payload.sys_id
}
};
}
In effect I'm treating my own record as an external url. I have not found a way to set the window title on the new window.