Refreshing Repeating Group

Please, please, please make it easy to refresh a repeating group when data is changed. This blows my mind that it is such a difficult task. Can you just make a “refresh repeating group” an action in the workflow?

MY PROBLEM:
I add “current user” to a list of “usersWhoCompleted” and it should disappear from one list and be added to another list on the same page but instead it disappears from the first list and doesn’t appear in the second list unless I refresh the page.

This should be an easy thing to accomplish with all that Bubble can do. I just don’t get why it doesn’t work and there is no easy way to make it work. I’ve spent half the day doing what other Bubblers suggest with custom states or displaying lists but none of them work consistently. Arggghhhhh!

Thanks,

~ Andy

3 Likes

Repeating groups update data in real time, so there has to be an issue with your implementation. Can you share a test page with the community so that others can help?

Do you have any screenshots?

Here are the screenshots of the problem. The only thing that is being changed is the “usersWhoCompleted” throughout the workflows and repeating groups. Simply adding or removing the current user from that list.



Just posted screenshots. Thanks for taking a look!

~ Andy

Looks like there are lots of other people having the same problem and repeating groups aren’t updating in real time when its a list that is changed in the data. I haven’t had any problems when the change is a yes/no, text change, or elsewhere. Only when I add an item to a list of things that is supposed to then filter where I am having the problems.

Thanks for looking!

4 Likes

@emmanuel

Having the same issue, RG refresh not consistent, after changes in items qualified for criteria of an RG group filter, and the like

3 Likes

Can confirm my RG does live refresh when data changes. But, when I add a privacy rule that restricts users so that they can only view “Threads” in the RG they are participating in (print screen below), the RG stops live refreshing.

Edit: I’ve found a workaround. If my privacy rule doesn’t involve lists, my RG live refreshes successfully :slight_smile:

2 Likes

Thanks for starting this thread!

And @sherman, I think I am experiencing a similar issue. I have a repeating group showing global transactions, like a Venmo feed.

I have it filtered to only show the transactions whose “global visibility” is set to yes (a privacy rule). But the strangest thing happens. When a user clicks to “like” the transaction (adding user to “liked list” for that particular transaction), it makes the transaction disappear from the repeating group. Almost like the action of adding to a list of a thing, flash resets it’s discoverability in the RG’s filter.

However, if I eliminate the filter and just do a search for all transactions, the likes function fine and no transactions disappear from the repeating group. It’s so weird.

Has anyone encountered this like I am. Am I doing something wrong, or is there a way to resolve this?

I have a similar issue. My RGs are refreshing automatically when they pull data from an external API and the parameter is dynamically pulled from a text field in the ‘current user’.

However once I pull a ‘current user’s list’ into the RG, the RG does not update automatically when I update the list in the current user. I have to refresh or click my update button twice before it updates.

1 Like

I do have a repeating group with a grouping. The refresh takes easily 5 seconds every time. But the lag is not on database so a solution like this wont work : https://www.youtube.com/watch?v=l9sdpwLoXck

Repeating group still don’t update data in real time unless you refresh the page.

4 Likes

Is there a feature request post for this? This one is a little surprising.

I haven’t read the whole thread, but the options I use to make a repeating group refresh are as follows.

  1. Put the RG inside a group, “group A”. When you want the RG to refresh, add a workflow action to reset group A
  2. For really large RGs, or ones with a heavy data source (hundreds or thousands of results). I’ve found the best way to make it refresh is to change the setup. Have the RG’s data source as empty by default. Then when you want data to show in the RG, use a workflow action: display list in RG. Then when you want to refresh, use a workflow: clear list in RG > schedule a custom workflow in a second or two > display list in RG.

Obviously these methods only really work if you know the RG needs to refresh, but this may help people landing on this forum post in the future.

11 Likes

Its unfortunate that Bubble have not solved this. Repeating groups that manage large data or complex front end elements (like multiple repeating groups inside repeating groups) are not refreshing on Realtime.

Fortunately your workaround #2 worked for me, thanks @andy.i , although it is a little slow to load all the data once it updates.

Definitely Bubble should fix this

1 Like

with your first suggestion you will not need to refresh the page right?

Correct!

1 Like

If anybody else is still having this issue, I just fixed it in our app and the fix is a bit embarrasing, but maybe this will help others. Don’t forget to check “Show all items immediately” in your Repeating Group:

2 Likes

Almost 4 years later, I’m facing the same issue.

here’s the link to my app

Home (bubbleapps.io)

Dear @emmanuel
I have a frustrating situation with an official request to your support team.
It seams that it is spent a long time fooling around!
I had clearly passed on all the necessary information and screens to reproduce a total view. But, after a whole week, it seems that there is no real interest in solving it.

How can I please have service taken seriously as the paying customer that I am**?
Could you please help and intervene?**

We see this situation as something serious and that we need support.
Ps.: Please, let me know how can foward to you or a Support Manager, the same e-mail support