cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wim Advocate II
Advocate II

App screen doesn't refresh even after refresh datasource

I have created an app to update a Sharepoint list "Topic". The app has a browsegallery, a detail screen (to see the details of one item) and an edit screen (to edit the details). The app is made in "tablet" mode, and I use the app in a Google Chrome browser.

On the edit screen I use patch actions to update item. The actions work "perfectly". Whatever update I do through the app gives the expected result in Sharepoint in a few seconds. (e.g. changing a value in a column)


However sometimes the new data don't appear in the app screen (browse gallery, detail screen), even after refresh of the datasource (refresh button with "Refresh([@Topic])" action on both screens). I say "sometimes", because sometimes it does work. In fact there is no predictability, it looks like 50/50.

Only when I reload the app (i.e. restart the app) I can be sure that the data are shown as they should. But obviously such workaround doesn't make sense at all.


In summary, Refresh(datasource) is not enough to refresh data on the screen, it only refreshes the datasource. Is there a function to "force refresh the screen", i.e. make sure that the screen updates with the data available in the datasource?


Thanks in advance for your assistance.

2 REPLIES 2
hpkeong Community Champion
Community Champion

Re: App screen doesn't refresh even after refresh datasource

Hi

 

@mrdangever mentioned in his post about data updating may take too long to show up.

CDS and Excel in DropBox will be almos instant but others may take some time.

 

Please view the post from him.,

 

TQ

hpkeong
Highlighted
Wim Advocate II
Advocate II

Re: App screen doesn't refresh even after refresh datasource

Thanks for your reply Hpkeong.

 

Could you please provide a link to that post from mrdangever? I can't find it.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Attending MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’re streaming the digital event live, or watching on-demand, claim your attendee badge to sport on your profile.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We're launching a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Emergency Response & Monitoring Solution

Emergency Response & Monitoring Solution

Microsoft has created a regional government emergency response and monitoring solution that is built on Power Apps and Power BI.

Top Solution Authors
Top Kudoed Authors
Users online (6,084)