Generate random string > create new page dynamically

Might be simple oversight but maybe someone can jump start me.

After creating a random string in a workflow, I’d like to then auto create a webpage url with that random string in the url i.e. website.com/GFHFYG.

The idea is to create a random string and it’s accompanying url, populate that page with dynamic data from previous steps, then use a QR code to navigate to that url.

Cant make your first path name dynamic unless you use a “redirect page”.

You can do this by creating a new data type (thing), then setting the slug as the random string, then set up a new page with the data type as the page data.

Good luck!

1 Like

Hey @patrickryanwatkins :wave:

I designed a similar thing to yours (of course, not with a dynamic page, but shortening page name as much as possible: like url shortening service):

  • I calculated and set a random short ID to the thing I created (such as XXX-XXX).
  • I create a one letter page: p for example. People can open this page by URL/p/XXX-XXX. This page has just loading message.
  • Then, in the workflow of this page, I get the random string attached to the path and redirect to that page if there is a thing related to it.

You can customize the p page to show error if there is not a related entry etc.

I hope this helps.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

1 Like

I think this is the closest, it will get me there. Thanks for sharing!

This topic was automatically closed after 70 days. New replies are no longer allowed.