Tab-navigation for action buttons

Hey there! Currently, action buttons allow you to navigate the user to an external webpage (via URL), or to an internal app page. However, the internal app pages are limited to top-level pages, records within those pages, or new record layouts. I would love to be able to navigate the user to a specific tab within a record’s detail page. So, rather than landing the user on page = Clients, and record = Acme Corp, I would land the user on page = Clients, record = Acme Corp, and tab = Contracts (for example).

I attempted a workaround by copying my app’s url to the “Contracts” tab and setting the action button to navigate the user to an external webpage. I pasted that URL in, and dynamically replaced the recXYZ string (I’m using Airtable as my backend) with the current record’s UUID. The problem is that it takes way too long to load because it is opening a link. So I abandoned that solution.

3 Likes

This is a great suggestion, thanks @buildwithjoel !

This will work, and fast, if you remove the domain name from the URL.

So if you have https://myapp.noloco.io/my-page/my-tab

Just use /my-page/my-tab

Make sure it starts with / and we will navigate internally, without reloading the page

5 Likes

So glad this was asked. We’re going to be using this in the app we’re currently developing as well!

Superrr great to know @darragh thank you!

1 Like

I would love to flag this again, as it is becoming increasingly important to us. We have so many tabs on pages and it would make work much more efficient if we could send the user straight to a specific tab on a specific page.

I use this often! Dropping the beginning domain info and starting at the first forward slash is pretty smooth and has worked perfectly in my set ups :smiley:

2 Likes

I saw that you added TABS to the navigate function! Very awesome, thank you!

BUT, I still can not use it because all my pages are in folders and currently the navigation only works on top level URLs. Will you be addressing this?

How would I navigate to a TAB inside a record I am currently in? Is there a placeholder for the current record’s uuid?

What do you mean by this?
It should work for all kinds of pages, does it not?

How would I navigate to a TAB inside a record I am currently in? Is there a placeholder for the current record’s uuid?

You can use the dynamic value for the current record’s ID, can’t you?

1 Like