Is there a way I can create dynamic page names? I’m creating a clone of Paypal.me where users can have their own page name.
Example paypal.me/rico
Would appreciate some insights on what ways this can be achieved.
Is there a way I can create dynamic page names? I’m creating a clone of Paypal.me where users can have their own page name.
Example paypal.me/rico
Would appreciate some insights on what ways this can be achieved.
I did this in my app by letting users create a database entry named ‘appname’. I made sure to check that this entry did not exist already by doing a search with this input and used ‘lowercase’ (because search is case sensitive).
On page load I do a search for ‘apps’ and I search for ‘get path from page url (lowercase)’ -> ‘first item’ and set the datasource for the page for this found ‘app’. (when search is 0 I display an error).
Your url will look like: app.com/page/somename
Let me know if you have any questions.
Thanks for the explanation. I want to avoid the additional /page.
I think this should be possible but I just can’t visualize it.
You can avoid that page by making the /page your index page
I actually have a web app with multiple pages. I want users to claim their own page. And then have a dynamic page name to display the content.
I’m not sure if I understand what you just said.
Ah I get what you mean, I am not sure how to do that exactly. My way isn’t the best if you have multiple pages. Let me know if you find a solution in the future.
Hi,
the closest I can think of accomplishing this, is the following way:
The URL will be something like www.yourdomain.com/?user=john1533
you could make it id= or profile= too.
hope this helps. happy bubbling,
Julius
Yes the traditional way would work for this but I can see my database getting big already. This isn’t managable on a long run.
Thanks for the input.
Looking for a solution to this as well. Keep us posted if you find anything.
Hi could you please provide screenshots for this?
You CANNOT do what OP describes in Bubble due to how Bubble interprets paths.
(You can’t have myapp.com/handle — because that would be the app page called “handle” with no arguments, right?)
But as others point out, you can have /something/handle.
I’ve described all of this in great detail and built the canonical demo app for it so that no one need ask this again, but I guess perhaps it can’t be found anymore.
Go here:
Thank you will check it out