Is there any plan to allow for dynamic url creation? I realize I can use the query parameters to populate data, but I can’t then copy and apste that link to a coworker so they can just jump that that page immediately. What I would like is to go from this:
domain/app/customers?customerId=custid123to this
domain/app/customers/custid123
I’ve seen a few posts but from a couple years ago. Is this on the roadmap, or a possibility already that I just haven’t seen yet?
Hey Spencer,
You should be able to use query parameters to accomplish this as you’ve mentioned.
The page you’re on should be basing results on {{url.searchParams?.customerId}} to populate the data immediately. Additionally if there are multiple views I’d suggest adding a hash param to directly navigate to a specific view (i.e. #view=details).
One thing worth noting if you’re building a publicly facing app or handle sensitive data I’d suggest using something less descriptive and use UUIDs instead as it’s more secure i.e. ?cid=<uuid> (in addition to ensuring row-level security).
Hey @SpencerFonbuena
Thanks for reaching out to the Retool community.
I believe @stefancvrkotic has some great suggestions above. Let us know if you run into any issues with that.
I also added you to the feature request to get what you asked into the Retool product. We had one open for the same ask.
Let me know if you have any additional question or concerns on the topic ![]()
Regards,
John | Retool Support