Forum Documentation Showcase Pricing Learn more

Setting custom state based on URL parameters


#1

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)?


#2

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

So just type tab in Parameter Name.


#3

@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


#4

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


#5

@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.


#6

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