[New Plugin] bdk RepeatingGroup tools

This is done :slight_smile:

1 Like

Thank you! Just updated, but I noticed that only the RG data element allows for dynamic extractor names, but the actual the RG extractor doesn’t support dynamic values for its name.

Is there anyway they can both be dynamic?

@gaurav

I am using the extractor to make calculations on a nested repeating group (repeating group within a repeating group).

The nested repeating group is hidden unless shown by a checkbox action.

The bdk RG Extractor/RGdata calculation works fine on the first open display of the nested RG data. However, if you close it, and open another nested RG, the data is calculated incorrectly.

Other calculations in the nested RG are working properly, so I have isolated the variable to the bdk RG Extractor/RGdata plugin elements.

I have tried resetting the Group in which the data resides, to no avail. Also have tried the workflow action ā€œRefresh List RGData Aā€, but this throws the following error:
The plugin My RepeatingGroup Tools / action Refresh list a RG data threw the following error: Cannot read property ā€˜data’ of undefined.

Any suggestions?

Could you share a link to the editor? A bit difficult to understand how you set it up without seeing

Nevermind I actually ended up creating a quick demo for extracting data out of nested repeating groups so that its useful for others too.
Demo #4 here
Editor here

1 Like

Hello,

Will this work to save all the data inside the repeating group via workflow?

I mean save all the RG data once you click on save button for example.

1 Like

Also,

How do you add a new line?

Fixed. Sorry had forgotten to publish the update. Please update now

So using a dynamic extractor name works once when the rg is first loaded, but if the dynamic value changes it won’t work anymore.

For example here’s a page with a dynamic list of texts in the rg.


The extractor name for the RG data element and RG extractor is set to the input at the top of the page.

If that input changes, the extractor stops updating.

I’ve tried using the refresh list a RG data workflow, but that just results in the following error: ā€œThe plugin bdk RepeatingGroup Tools / action Refresh list a RG data threw the following error: Cannot read property ā€˜data’ of undefinedā€

In fact, I always get that error every time I run the refresh list a RG data workflow, no matter the circumstance or page.

Yep that’s expected. I had it static for the reason it has to be predecided. The reason I made it dynamic because of user requests as they wanted to use it in nested repeating group.
However, you can’t change (yet) the dynamic value using conditional formatting. I can look into adding this feature in future but I don’t know why it would be helpful to anyone.

The ā€œLimit to Maxā€ function uses a lot of capacity in Bubble.

It is currently set to ā€œRepeatingGroup A’s List of ā€˜things’:countā€ which I believe is correct, since it works.

Is there any way to optimize this to reduce the strain on capacity?

Does the ā€œAnchor to Bottomā€ feature in the BDK RepeatingGroup Tools plugin mean on page load the repeating group naturally starts from the bottom without a lag/delay?

Yep. However ā€˜page load’ is a technically incorrect thing to say here since it will work after you run the workflow step specifying which group to anchor. Any subsequent items added etc. will appear naturally starting from bottom. The best way to see it is to try it out in the demo page :smiley:

Oh I see. Thank you will give it a try later today (UK time GMT :smile:)

Hello @gaurav !

I bought you plugin this morning because I was looking for an anchor to bottom for a full list RG but I just see it’s not possible… Is it possible to have a RG like chatbox on the full height of the page and scrolling to the last post ? Because with RG with scroll, I used to scroll to :itemlast and it works perfectly, so did I missed something ?

Thank you !

I found it : just uncheck ā€œAnimate the scrollingā€. It seems to work with Full list :wink:

This plugin seems to simplify quite a bit with RGs. Nice work!

One area where I’m stuck though …does the plugin provide any way to extract a list of things out of a nested repeating group?

In your example, you’re turning the nested list of numbers into a single sum (which works) and you’re turning the nested list of buyers into a single text string by joining the values with a comma (which works). The same analogy doesn’t seem to work for things …or at least, I don’t know how to convert them into a single value that I can later turn back into a list of things.

2 Likes

I’m excited about the tool! But I have not been able to get it to successfully run. I feel like I’m doing everything properly, but not getting any data extracted.

Background: I’m pulling in data from an external API into the repeating group.

Any idea why it isn’t working?

Images:

Names are different, they need to be the same

3 Likes

Thanks @Bubbleboy! I’m going to try that first thing in the morning.

1 Like