- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 06:06 AM
Hi all,
I am wondering if it is possible to close a tab that has been opened from a list that is shown from the list menu. and after clicking a button to go back to the list tab. (see images)
From this screen i want to close this tab and show the List again to the user.
the list view in question
if anybody knows a way on how to do this and could help me out
Regards,
Jonas
Solved! Go to Solution.
- Labels:
-
UI Builder : Next Experience

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 03:31 PM
I'm not sure we have a way to programmatically close a tab, and you can generally use the link to destination event handler to send the user back to another tab, but I don't know that you can do it with the list tab there.
A workaround might be just displaying a message that tells the user they can close the tab.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 03:31 PM
I'm not sure we have a way to programmatically close a tab, and you can generally use the link to destination event handler to send the user back to another tab, but I don't know that you can do it with the list tab there.
A workaround might be just displaying a message that tells the user they can close the tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 11:59 PM
we came to the same conclusion in our team.
thanks for helping to look

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2024 04:18 AM
Hey Brad, we should be able to do it using dispatched events. Have a look at my answer below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2023 10:33 AM
We created a UI Action:
- Table: Main table for your application
- Active, Show Insert, Show update, and Client all checked
- Onclick is onClick(g_form)
- Condition is true
- Script:
- function onClick(g_form) {
g_aw.closeRecord();
}
- function onClick(g_form) {
Then you add to your Event within your Application: "Execute UI Action (Glide Form)"
Find the Sys ID for your UI action (listed in the bottom black line) and fill it in.
OR
Write a Client script:
Fair warning is that we do sometimes have issues where it doesn't actually close and redirect. Most of the time it works, sometimes it doesn't. I have a feeling it has to do with async issues when called in the Event.