Dynamic row addition in Repeating Group and bulk CRUD of Things using vanilla Bubble

Smart!
Can I ask you a screenshot of the “set custom state” where you define “:plus item id ||| type”?
Also, it’d be amazing a screenshot of the conditional (when id ||| type, then visible).
Thanks a lot for the help!

EDITED: I solved this, thanks for your guide @artemzheg!

1 Like

Sorry I just saw your reply. For my use cases it’s usually already defined in the “row” text field of a thing. All adjustments will happen on user input so there’s very little room for error.

1 Like

Hi @artemzheg,
I was wondering if you had an idea of how to solve this:

I built it all but I have this issue which makes it difficult to use.

Thanks in advance!

You need to fill initial value for each input. Data source is the list of texts stored in custom state:

1 Like

Thanks a lot! It worked :muscle:t3:

Is this available for select users only?

Beta expression composer was deprecated recently:

if you’ve been actively using the beta expression composer, on April 10, you will no longer have access to the beta and your editor will revert back to the original expression composer.

You can try to compose your dynamic expression using old Expression parentheses beta feature:

Happy to report I did this successfully using just the Expression Paranthesis feature enabled and not the Beta Expression Composer (I didnt want to get too deep using a feature that was being depricated). It takes a bit longer to build, and if you find you built something out of order or the wrong value, you may need to redo it, but its all doable.

1 Like

thanks parantheses worked after enabling from beta features

1 Like

Is it possible to build this from JSON?

Hiya, a very useful workflow, thank you for sharing! I’ve been trying to follow but go stuck on step 2.2.1 Adding rows. Can’t seem to add + 1 to the contents of the ‘value’ box (please see attached screenshot). For context, my repeating group is in a popup. I have tried setting the set state for both the page and the popup, but this hasn’t fixed the issue.

Any ideas?

That’s the same thing mentioned here:

But since new Expression Composer has been deprecated, you’ll need to activate Expression parentheses beta feature:

1 Like

It’s working now! Thank you :slight_smile:

1 Like

I do have another question. In my scenario, I am trying to store the input data for each new row of the repeating group under a single ‘task’.

So, for example, I have three input boxes, ‘Name’, ‘Age’ and ‘Weight’. The ‘add row’ button adds new participants to the same task. Participants 1, 2, 3 etc. all fall under the same task, but each is associated with a ‘Name’, ‘Age’, and ‘Weight’. How do I go about coupling my API to store this data correctly? Instead of ‘creating a new thing’, I will be ‘updating a thing’, but I am stuck as to how to proceed.

@edb27 could you share your example?

Cant wrap head around on friday evening :slight_smile:

1 Like

Of course. In my scenario, I have a data type consisting of ‘Projects’.

Under each Project, User Type A can enter the number of tasks.

User Type B can then access a page with a popup and a repeating group. They can add new tasks as shown in the screenshot, up to the limit of the number of tasks specified by User Type A.

When User Type B adds a new task, it should be associated with a Name, Time and Location. All of these should be saved under a single project from the Projects list, which User Type B can select from a separate repeating group before accessing the popup.

I am trying to save the data for task Name, Time and Location under a single project entry, using data entered in the input fields of the repeating group.

Instead of ‘adding a new thing’, I believe my API should ‘make changes to a thing’. Do you have any suggestions how I could set this up?

Hi @artemzheg .

Thank you very much for your post.

After trying of 1000 ways, I am not able to do it.
My idea is to put the category and the rate per hour in the database as you can see in the pictures. The Repeating group is getting the data from another group. I want when I click “prueba”, to create the different field in CHF hourly rate so I dont know how to connect it with Bulk creating Things and API WF



Thanks a million!

How can we do Something like below

Please Advice

@artemzheg Thank you so much for this, it’s SO helpful! Unfortunately I have got stuck early on. In Step 2.2 when setting the value for the state, Bubble doesn’t seem to allow me to add + 1 to the end of the expression. No matter what I try it ignores it and the expression ends with :max. Is there some trick or technique to adding in the +1??

Check this: Dynamic row addition in Repeating Group and bulk CRUD of Things using vanilla Bubble - #33 by artemzheg