Sometimes load the custom states, sometimes not. How can i fix this?
View from Preview:
View from workflows:
Sometimes load the custom states, sometimes not. How can i fix this?
View from Preview:
View from workflows:
It’s really hard to diagnose without looking through the workflows and trying to debug it. Without knowing your app, it looks to me like it’s either or both:
The best way to manage single page apps in my opinion and for a host of reasons is to use the sudsy plugin and make every action change the URL (such as clicking a menu button), and then show/hide the ‘pages/tabs’ of the app based on the URL. You can also use the URL to dynamically populate repeating groups as well if you use the same repeating groups across several ‘tabs’
There are free plugins that do something similar to sudsy, but in my experience they all drop the ball in some situations where Sudsy is super reliable.
i.e. Your base URL could be…
domain.com/page
When the user navigates to a specific menu item you rewrite the URL to…
domain.com/page/tab
The other major benefit of doing this is you can then reference the full URL elsewhere in the app or even in emails or whatever and the page will load exactly as you like if people navigate to it. If you use states then you end up putting everyone back to the start and then they need to click away to get to where they want to be.
You can also just use page parameters and forgo the plugin, it’ll be like the below which is a bit less user friendly. But also it requires you to add additional workflows in some situations to make sure everything continually dynamically loads AFTER the page has loaded for the first time.
domain.com/page?section=tab
The sudsy plugin also comes with great documentation, so with a bit of patience it’s fairly easy to DIY this if you need more guidance. But I’ve done all this and more in many of my own apps, so if you want me to walk you through how to do that for your app, you can book time with me on my website and I’ll run you through it.
Josh @ Support Dept
Helping no-code founders get unstuck fast save hours, & ship faster with an expert
on-demand
For the future and best UX don’t use custom states to show and hide sections.
Look at the " URL Router" plugin (free)
Because if your user will reload a page in a certain section he will have to move again from the start section (all custom states refresh when page is reloaded)
That doesn’t happen when the section has a “URL”
Thank you so much guys! Big hug!