# Auto updating list when another user adds entry

**URL:** <https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458>\
**Category:** Get Help\
**Created:** [November 23, 2023, 3:19am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458 "2023-11-23T03:19:01Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOB](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GOB](https://forum.adalo.com/u/GOB)\
**Post date:** [November 23, 2023, 3:19am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/1 "2023-11-23T03:19:01Z")

</div>

Hi folks, thanks for all the continued support.

I am making an app where multiple users can increase a number in a field.

On my home page, I display a list that has a progress bar that shows that number.

I have enabled “auto update” on that list in advanced settings.

When I try the app though (both native in testflight and on preview), the progress bar on one user’s home screen does not update when another user makes a change, until the page is refreshed (by either navigating away and back, or pulling down to refresh the screen).

I would really like this progress bar to auto update whenever the record is changed, even by a different user. I thought the “auto update” setting on the list would do this, but it doesn’t.

Is there any way to make this happen?

Thanks!

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [November 23, 2023, 9:38am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/2 "2023-11-23T09:38:06Z")

</div>

Try my suggestion from this post

> [@Progress bar doesn't fill up](https://forum.adalo.com/t/progress-bar-doesnt-fill-up/43462):
>
> The progress bar doesn’t fill while the circlular progress bar does using the same formula for both in the same page of an app. Does anyone have a solution ?

Let me know if it works or not

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 23, 2023, 10:18am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/3 "2023-11-23T10:18:25Z")

</div>

Hey @GOB,

This is related to the way Adalo renders pages and refreshes data.

You didn’t specify how do you get this value of progress. So for example, let’s assume you’re using Logged-in User → Progress value.  
When you open the page, Adalo app sends a request to backend to get the record details for Logged-in User. It gets the progress value along with all details and then renders the page and progress bar.  
If you change progress value after page is rendered, the app won’t know about it as there is no active client-server connection.

When you press a button, the page is re-rendered (even if there is no action on a button), so data is loaded again from the backend. Therefore the new value is received and progress bar is updated.

Now let’s see how lists with auto-refresh work. Basically, such list sends a request to the backend every 1…2 seconds and loads data again. By the way, that’s why putting too much autorefreshing lists can reduce app speed.

So as you can understand, when you put a list of Users on a screen and turn on list auto-refresh, the data is reloaded, new value is received and progress bar is updated.

However, if you put a list of _another_ separate unlinked collection (e.g. Items) on this screen and turn on auto-refresh, the progress bar will not update. The reason is that Users info isn’t refreshed with Items, Adalo app doesn’t send request to a backend which aren’t needed.

Keep in mind this can be more complicated when you have collections with relationships: Adalo can load data quite intelligently and may request other collections as well.

The case of “refreshing” the screen is pretty frequent when you update the value from other sources, e.g. Make scenario. What I usually do - I wrap the element into a list, make it a single-item list so that it’s filtered to a current one element (if it is a list of Users - make it a list of Users where user email is equal to logged-in user email), and turn on autorefresh.  
Another option is to do the same wrapping with an invisible label. The key is that this list should be a list of the collection in question (if we’re refreshing some Item - it should be a list of Items, etc.).

Best,  
Victor.

---

<div class="post-metadata">

**Author:** ![GOB](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GOB](https://forum.adalo.com/u/GOB)\
**Post date:** [November 23, 2023, 2:26pm UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/4 "2023-11-23T14:26:02Z")

</div>

Thank you so much to all for the replies @Victor and @Rozza - it is great to get a deeper understanding of how things work. I’ll try some approaches now. Here are some screenshots showing more info on how I am currently doing it.

I have a list that shows a maximum of 1 item.  
It is tied to a collection called “Daily Records”.  
In that 1 list item are 4 progress bars.  
Each progress bar is filtered in three fields in the “Daily Records” - Date, Color, and Organization.

Those fields get updated by users on a different page with a button that has an action that updates those fields in the “Daily Records” collection.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/4/7/47011e0b9efd9626f30e5d6e4854d9e6d5e41f0c.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/1/2/12c6f8db186f68f7292ae73dcd352b8620b00ea2.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/3/23b32e24c9f10ed0a5804afc9d4dc3440ecf2639.png)

Hope this additional info helps, and again thanks so much for the input. I really appreciate it.

EDIT to add:  
FYI here are some images for how I am updating the Daily Record:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/9/1/91bc8a62066e8a6bce2e5b364a0816f945c4adab.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/b/c/bcf589c342c102646bbc5273032c6dc009069753.png)

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 24, 2023, 9:49am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/5 "2023-11-24T09:49:36Z")

</div>

Hi @GOB,

Ah ok, you’re using counts. This makes things more complicated. Counts aren’t updated even when the list is refreshed - they’re calculated when you render/refresh a page.  
Example: on the first screenshot I’m counting the number of items which contain “x” in name:

 ![Screenshot 2023-11-24 at 11.41.48](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/0/0/00892bad6c0b53f14497727b61c91f192c7d9886.png)

And here I’ve removed “x” from some items. List was refreshed, but counts are the same:

 ![Screenshot 2023-11-24 at 11.42.14](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/6/262592cb5200980f76fbd8c95349f005d4ecd719.png)

So in your case you might want to explore the following options:

- see if you can store the values from counts in some variable (DB property)
- implement an “auto-refresh” routine for the page. I’m not a big fan of such hacks, but you can do it using countdown timer which has conditional visibility (Logged-In User → Timer Visible=TRUE), set the timer to 60 secs, then when timer finishes update Timer Visible to FALSE and link to “refresher” empty screen; on the “refresher” screen add on-screen-enter actions to update Timer Visible back to TRUE and link back. Should work like a refresher.

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![GOB](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GOB](https://forum.adalo.com/u/GOB)\
**Post date:** [November 24, 2023, 3:04pm UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/6 "2023-11-24T15:04:44Z")

</div>

Thanks @Victor - this is really helpful to know.

I will try the approach of adding a new DB entry for count, but this will be a challenge since I need to increase the count based on color, day, and organization - and be able to separate those out for display.

It’s unfortunate because the current configuration works very well, just not for the updating issue!

Thanks again for the help!

---

<div class="post-metadata">

**Author:** ![GOB](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GOB](https://forum.adalo.com/u/GOB)\
**Post date:** [November 27, 2023, 9:55pm UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/7 "2023-11-27T21:55:26Z")

</div>

Some progress @Victor

Here’s what I’ve done so far:

For now, I can make do with only looking at today’s records, but still need to separate out by organization, each of which has many members.

In the Organization’s collection, I added 4 new properties (of number type):

dayGreen  
dayYellow  
dayOrange  
dayRed

So now when a user makes a choice for that day, I would need to increase that corresponding field by one.

I would need to reset all those values, though, at the start of each day.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/5/2595dc546d9cc72cadda108f90dfe3862289bcec.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/5/e/5efa17103c08845883b628a5539b111768075acb.png)

Is there a way to reset those values (dayGreen, dayYellow, etc) at the start of each day? even if no one has the app open?

Thanks again!

---

<div class="post-metadata">

**Author:** ![GOB](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GOB](https://forum.adalo.com/u/GOB)\
**Post date:** [November 27, 2023, 10:33pm UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/8 "2023-11-27T22:33:58Z")

</div>

I’m trying an using zapier to trigger this every day (not my ideal solution but could work)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/4/f/4f1cefa7c9984ac839ac4db3cc0bc2a63d3a4572.jpeg)

It’s annoying that I have to make a seperate action in zapier for each ID in the collection - instead of specifying “all” - this means that if I create a new organization on the app I have to go to zapier and add the action for the next ID.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/1/c/1c18c50407e332e3a06008971fdf44804acbcf11.jpeg)

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [November 28, 2023, 9:41am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/9 "2023-11-28T09:41:05Z")

</div>

Can you GET all organisations then loop through them, nesting the necessary actions on the loop?

---

<div class="post-metadata">

**Author:** ![GOB](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GOB](https://forum.adalo.com/u/GOB)\
**Post date:** [November 28, 2023, 1:34pm UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/10 "2023-11-28T13:34:35Z")

</div>

Hi @Rozza - that sounds promising but I could use some more guidance on what you mean.

I appreciate your help and attention!

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [November 28, 2023, 1:42pm UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/11 "2023-11-28T13:42:42Z")

</div>

> **[Loop your Zap actions](https://help.zapier.com/hc/en-us/articles/8496106701453-Loop-your-Zap-actions#about-looping-by-zapier-s-integration-0-0)**
>
> You can use Looping by Zapier to run an action or set of actions more than once. Any action that follows a looping step will run once for each set of values input into a Create Loop step.
> 
> 
> 
> Examp...

Get all from Organisations. (A list of all organisations)  
For each loop, update record. (For each organisation, update that record)

FYI you can clear an Array in adalo via the Adalo API with `[]`

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 29, 2023, 6:10am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/12 "2023-11-29T06:10:55Z")

</div>

Hi @GOB,

Option 1: you can use something like Make for this purpose. Note: you will need to have Adalo Collection APIs enabled on your plan - for new users now it’s only on Team and Business plans.  
In Make you can create a scenario which is run daily, it should loop over the records in Organizations collection and reset these values.

Option 2: a workaround, but it could work in your particular case.  
Let’s assume that when a user opens the app and gets to Home screen, we have an access to user’s organization.  
Then let’s add a datetime property to Organization collection, and call it “last time values reset”.  
And then let’s add a on-screen-enter action, which:

- resets values for the organization of the user
- and also stores the current time in Organization → last time values reset.  
A final part: make this action conditional, so that it is executed only if Organization → last time values reset is earlier than start of today.

As a result: when a user from a certain org opens the app on a certain day, the values should be reset (as the last time values reset are in the past compared to start of the day). Another user which opens the app won’t have this action executed as the last time values reset is later than start of today.

**Please note** : the workaround above requires testing and might require enhancements. E.g. I didn’t address the issue of users in different timezones - so maybe it’s better to store the reset time in a date format or in a numeric format. Also you’ll need to test if the data is pulled correctly from the backend to a home screen. And yes, it doesn’t meet your requirement “even if no one has the app open”.

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [December 9, 2023, 6:11am UTC](https://forum.adalo.com/t/auto-updating-list-when-another-user-adds-entry/43458/13 "2023-12-09T06:11:28Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
