Hi all,
I have a page which has a repeating group and the repeating group’s type of content is an api endpoint that I have set up (the api returns details on a bunch of inventory items). When someone clicks on one of the cells of the repeating group, I need it to navigate to another page which shows the inventory item in more detail. When I went to change the content type of the inventory item details page, the api endpoint data type isn’t there. Clearly bubble doesn’t allow this.
So my question is, what is the best way to do this? I know I could save the data to an actual database data type and then access that but that’s a hacky solution.
Hi Ankur. Thanks for your help.
Here’s the data type (api) - Agents result
And here are the options to choose the page type and as you can see when I search for it, there are no results:
In terms of your hack, not entirely sure what you mean. When you say “set up the page type of this object”. There’s nothing in the drop down that allows me to chose this type. Are you able to explain a little more?
Is it possible to get the data via the ID from the API?
One other way can be-
Create the inventory details page on the listing page itself.
Whenever someone click on the repeating group item, show that inventory details group and pass the “path list” into URL- that will gives the feel of opening the new page.
You’d just send the individual details you need to make the “detail” API call as primitive data types and make that call on the subsequent page. BUT… If you want to get fancy: