Hi all, I’ve been building an app based off @gregoryjohn 's video - and I’m using the URL to show data if a user belongs to a certain team (hopefully that makes sense!)
I’ve managed to register a user and I’m showing data to specific users based off the URL however I’m struggling to log a user in to a specific team because I can’t add a slug as an action in the workflow. i.e - “navigation → go to page → destination/{slug}”. I basically want to log the user in, and depending on their team, I want to print that team after the url i.e - bubbleproject/dashboard/{team}
I hope that’s not too confusing - I’m just hoping someone can point me in the right direction as my google search results are getting weirder and weirder
If you just want to print the team you can also use the function under go to page “Data to Send”
To set up the slug. Set the slug and define go to this slug “only when”
Thanks for the reply @gregoryjohn - I’ve already set the page data to “Team” but I don’t get how I’m supposed to log the user in (step 1), find out which team they belong to and then set that in the URL and then go to the page (step 2).
When I register a user it’s relatively straight forward as I’m able to set the slug in the email and then register the user to a team based on that slug. How do I set the team name in the URL, after log in, and then go to the next page based off that slug? Sorry if that’s confusing!
@Eugene_West - that seems to be the problem! I’m not actually capturing the team when the user is invited and registered . Let me fix that and then try again