cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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