UI Builder open link new tab

Tadz
Tera Guru
Tera Guru

Hi,

Is it possible for UI Builder to open link in new tab? 

Thanks,

Tads

6 REPLIES 6

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.

thomaskennedy
Tera Guru

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.