Of course @moviecud and @cm1 - any time. I actually learned this from a Bubble Jedi a couple months ago, so I’m more than happy to pay back that kindness. It’s actually fairly simple to set up, so if something goes wrong it’s definitely my explanation of it that’s lacking, but I’ll walk you through it the best I can.
I’ve also created a quick demo app so you can pick around any elements that aren’t fully clear from my explanation below.
The test page lives here: Awesome Pets
The editor lives here: Awesome Pets Editor
Basic Setup: Two pages. One input. One Display.
Input page structure: Inputs create fields in an object with a button to save. One of those fields is a text field for URL extension. An repeating group displays links to test.
Input page functionality:
-
Clicking “Save” creates an object with the the various fields.
-
The repeating group searches for all Pets and displays the name and link. In this example the link is a simple dynamic text element that when clicked launches an external window of the hompageURL with extension for this specific Pet.
“e” page setup: New page with a Group overlaid. The group has a type of “Pet” and calls the right pet by doing a search for Pets where the URLExtension matches the path from the page URL - then call’s the “first item” from that list since there should be only one (we didn’t set up exclusivity on the URLExtension input for this test in the interest of time, but you would in a real-world app by (i) checking the chosen extension vs. existing, showing the error if there’s a match and disabling the button with a condition when the URL input already exists). There’s one step I sometimes forget here which is that when you tell page to get data from the page URL, you need to click “get data from page URL” after you select it to tell that command what to get (path vs. parameter). Select “path” for this structure.
Once that’s done, all of your dynamic elements will just call the Parent Group’s Pet and populate from there.
This has been a little train-of-thought, so if I’ve missed a step or something’s still unclear just let us know and I’ll edit the post later.
Good luck building and let me know if/how I can be helpful as you get up the curve!
Best,
Brian