Share a link to a particular form

What I’m trying to do:
I’d like to share a link to a particular form within my app, such that when the user clicks that link, it opens up the login and takes the user to that form.
For e.g, a form in my app belongs to a subject -->topic. So ideally I would like it if the link to the form was sainaptic.anvil.app/chemistry/bonding/

What I’ve tried and what’s not working:
When I do this, the link is one large alpha-numeric ID which does not tell the user anything meaningful.
I have not implemented hash routing - is that what I might need to do to have this breadcrumb like navigation ID for each form?

Code Sample:

# code snippet

Clone link:
share a copy of your app

Thanks,
R

You can’t quite get the sort of URL you’re looking for, but you can come close using the Hash Routing dependency: HashRouting: Routing, navigation with URL Hash

It takes care of routing for you, caches forms, etc.

2 Likes

OK yes, thought as much. I’m a bit nervous implementing that but I think the time has come! Thanks so much.

2 Likes