I have an API response as a list of items depending on the user request, e.g. 3 Items
Each Item has a Title, Subtitle, etc which is displayed in a Repeating Group. I want to save the items of the repeating group as it is displayed initially on another page each with a Title, Subtitle, etc.
On the new page, the Repeating Group will have each Item with a Title, Subtitle, etc as one Item belonging to a list of items. I hope this makes sense.
If I understand correctly what you want to do, you’ll need to save the items returned by the API in the database and then display them on the new page. In this case, you have several options:
If your list will only display items returned from the API with the same datatype, you can create a field in the database with the datatype being a list of API items (when you create a new call in the API connector, it creates the returned datatypes for you), and on the other page, you’ll create a repeating group with that same datatype and display this list.
However, if you want to save these items returned from the API and combine them with items created in your Bubble database, the task is a bit more complex. In this case, you need to parse the API data to create these same items in your Bubble database and save them in a list of items. To do this, you’ll need to create a recursive backend workflow or set up a scheduled API workflow on a list to create all the desired items in your database, save them to the list, and then display them on the other page along with previously created items.