Announcements
I want to push data updates from a data source out to instances of an app without the users having to "refresh" the data and without having to resort to recurring refreshes on a timer. Essentially, the idea is to have several users on a particular app at the same time and have changes made by one user to the database transmitted to all of the other users. My understanding is that this would be something like pub/sub messaging done with AngularJS. Does anyone know if powerapps can do this?
Hi @kenwestover1
You may want to check how Pieter Veenstra did it. He used a timer but with a twist. https://sharepains.com/2019/11/06/auto-refresh-data-in-power-apps/
Thanks, but hoping to do better than a timed auto refresh.
I don't work with multiple users so I don't have the actual experience but if you use a collection as the data source like in the article, whenever a user modifies the source, if you did a ClearCollect() immediately, would the change propagate to the other users of your app?
It would, but this solution adds latency and network traffic to the system. That's why I'm looking for a sub/pub solution that only updates the data when there is a state change.
In my last post, I wasn't referring to a timer. Just to trigger a ClearCollect() whenever a user modified a datasource. I was wondering if by doing this, and the gallery Items property was the collection, whether doing this would automatically update the gallery for all the users on the app.
Right - but if user 1 changes the data, how do I trigger the clearcollect for user 2?
I am working in the dark here because I don't have multiple users on my apps. I am assuming that once the ClearCollect() occurs, it is immediately reflected throughout the app everywhere that collection occurs. This may or may not be correct. Perhaps one of the other commentators can say if this is the case.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 409 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 252 Most Valuable Professional