Is it possible to create a list of things from repeating group?

Hello,

I have two repeating groups. Left is a list of products received via external API(not saved) to Bubble DB. Right is selected items via custom state + QTY input field.
Is there any chance to create a list of things in Bubble DB from the repeating group on the right?

Hi @it127,

Yep! You can use a recursive workflow to do this

Just the first thing that popped up in my head. Depending on the exactly requirements my answer would differ to some you recommend (i.e., bulk data API)

I think this is a good example of a feature that just seems like it would be natively part of the front-end! It comes up frequently enough in the forums, and admittedly all of the ways to achieve currently are more ā€˜advancedā€™ (recursive workflow, API workflow, Data API bulk, etc). I wish ā€˜thingsā€™ within a repeating group werenā€™t so barricaded from outside the RGā€¦Iā€™ve found decent plugins to assist with this (Orchestra, BDK RG, etc) but would love to see this natively in vanilla Bubble. Iā€™ll take a look at the feature suggestions to see if anyoneā€™s got requests in there I can +1!

Update from my Ideaboard findings:

  1. Provide native access to data of each row in repeating groups: https://bubble.io/ideaboard?idea=1675811224391x448970238023434240
  2. Staging data for data things (specially for repeating groups and listings) https://bubble.io/ideaboard?idea=1668175980378x626058811397636100

Iā€™ve voted on both of these and would love to see them come to the platform.

@msgiblin Been asking for things like this for a long time. Itā€™s just not seen as a priority. For what itā€™s worth, upvoted these. However, my hopes are not high.

1 Like

ā€œSchedule an API workflow on the RGs listā€ - Sounds like a plan. Any hints how to set it up?
ā€œOr use the Data API bulk function.ā€ - I don`t think this approach will work with current endpoint setup, it will start to save whole product list from API.

My current vision how this application part should work:

  1. External API call (GET) - provides list of all existing products with total qty.
  2. Selection from RG is like ā€œadd to cart/orderā€
  3. Selection is saved to app DB after clicking SUBMIT button
    4)Button APPROVED executes External API call (POST) - sends saved data from DB to external endpoint and deletes app DB records related to particular cart/order.

Right now i have struggles with step #3, other steps are working.

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