cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
geneZebra
Level 8

Is there a way to tell if a sharepoint list changed prior to calling refresh?

Currently I am calling refresh in the onVisible property for a screen but it is affecting performanc.e I am wondering if PowerApps support an "IsDirty" flag or something like that to know if the data source has changed prior to calling refresh in my app.

 

If not, I will most likely add an IsDirty flag when my app changes the data source as a work around. The problem with that is if another instance of my applicaiton is running for a different user, they won't know about the changes. I would much rather check an "IsDirty" flag on the data source to know if data has been modified.

 

I think I know it is not supported but I figured I'd ask jsut in case.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Is there a way to tell if a sharepoint list changed prior to calling refresh?

Hi @geneZebra ,

I'm afarid there's no way to justify directly whether your data in sharepoint has been changed currently in PowerApps.

For now, refresh function just performs a full refresh, not having other internal optimization.

 

I suggest you express your views about adding this function on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

What's more, in sharepoint list, there are two columns that named 'Created' and 'Modified'.

Created column is used to record the time that the item was created.

Modified column is used ti record the time that the item was modified lately.

Maybe you could compare these two columns' data. If data in Created and Modified is the same, it means that the record has not been modified after being created.

 

 

Best regards,

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
geneZebra
Level 8

Re: Is there a way to tell if a sharepoint list changed prior to calling refresh?

It would be helpful to know if the refresh function is optimized internally to only update records that are different vs performing a full refresh. I haven't timed it but it does seem sometimes is much faster and other times not so much.

Super User
Super User

Re: Is there a way to tell if a sharepoint list changed prior to calling refresh?

There is an UnSaved flag that tracks whether you have made any changes to the fields in the Edit Form in your PowerApp. But I'm not aware of any flag that will let you know that someone else has made changes to the data source behind the scenes.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support Team
Community Support Team

Re: Is there a way to tell if a sharepoint list changed prior to calling refresh?

Hi @geneZebra ,

I'm afarid there's no way to justify directly whether your data in sharepoint has been changed currently in PowerApps.

For now, refresh function just performs a full refresh, not having other internal optimization.

 

I suggest you express your views about adding this function on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

What's more, in sharepoint list, there are two columns that named 'Created' and 'Modified'.

Created column is used to record the time that the item was created.

Modified column is used ti record the time that the item was modified lately.

Maybe you could compare these two columns' data. If data in Created and Modified is the same, it means that the record has not been modified after being created.

 

 

Best regards,

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
geneZebra
Level 8

Re: Is there a way to tell if a sharepoint list changed prior to calling refresh?

I'll submit the idea but your the idea of using created or modified is what I was after but unfortunately a refresh would be needed to get those fields from the data source.

 

Thanks.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 218 members 4,559 guests
Recent signins:
Please welcome our newest community members: