- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 01:41 PM
I am working in Utah UI Builder and I need to open a new browser tab with a link to an attachment on a record. I can build the URL and it works in the Text Link component but the user has to click the link to open the new tab.
I need to open it without the user clicking the link. In my page script I have tried:
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 01:54 PM - edited 08-16-2023 01:55 PM
You can use the link to destination event handler on the page ready event like this:
- Click the Body component on your UIB page in the left hand content tree.
- Click the Events tab in the configuration panel on the right.
- Click Add event mapping and choose Page ready
- Choose Link to destination and Select destination
- From here you can link to a workspace page in a new workspace tab or select external to open a page outside of workspace (like google)
- Click OK and Add.
This would cause a new browser tab with google.com loaded on page load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 02:44 AM
Hi Brad,
Not working, attached evidence with Page Ready:
On the other hand, if I associate the event to a button, it works.
Why doesn't it work when loading the page?
Thanks in advance.
Regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:01 AM
You might have to add a timeout. My guess would be race conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:31 AM
Hi Brad and thanks for you reply, how do we add timeOut?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:38 AM
Hi Brad,
I have tried with the “Text Link” component and it only works if the “Open new window” tab is activated.
Is it possible that there is a bug in the ui builder and for that reason it does not work with Add event mapping and choose Page ready?
We need to be redirected to a URL when loading the page.
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:42 AM
You'd do it in a script with a setTimeout function I'd think.