Setting custom state based on URL parameters

Hi, I’m trying to follow this tutorial here by @sridharan.s :

I have done everything he says but the custom state does not respond to my URL. I think it might have something to do with the get custom state from URL part.

His workflow:

image

My workflow:

How do I “Get tab from page URL” (without manually writing tab)?

That looks like you are trying to get a dynamic parameter name … but you just want tab.

So just type tab in Parameter Name.

1 Like

@NigelG Yes okay, I set it to tab and it does not work still. I’m not sure what is wrong. I think nothing is responding to my url changes, even when reloading.

image

That says “edit” not “tab” as the parameter.

1 Like

@NigelG Ah I see how it works now, thanks :slightly_smiling_face:

Do you know a way I can make it /dashboad/page instead of /dashboard?tab=page?

I seem to be able to do it with an external link action but that reloads the page.

I don’t believe there is a way to structure it as /dashboard/page

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.