cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tdupton
Helper II
Helper II

ClearCollect a SQL View

I use ClearCollect to preload my gallery for better app performance.  My issue is if I edit an item and then call the ClearCollect again it often doesn't pull in the updated item data.  I have forced it sometimes by calling Refresh against the datasource but I would expect that ClearCollect shoud requery the datasource (SQL view).

 

Is this a bug or expected behavior?

5 REPLIES 5
Sienna
Resident Rockstar
Resident Rockstar

@tdupton

I'm pretty sure it is a bug.. I'm testing SQL and there is more weird things going on with SQL at the moment

 

https://powerusers.microsoft.com/t5/General-Discussion/BUG-REPORT-Removing-multiple-rows-from-SQL/m-...

 

https://powerusers.microsoft.com/t5/General-Discussion/BUG-REPORT-Timer-issue-when-patching-to-SQL/m...

 

and even more what I've noticed but didn't want to spam this comunity with every single bug I have found. 

I currently have this issue as well and it's becoming annoying for my customers. Is there any known work-around?

Same issue here: Unable to consistently ClearCollect a SQL View ON MOBILE DEVICE ONLY. Users have to go back and forth in the app to get the ClearCollect to work. I need some suggestions for debugging this/fixing this.

So far I've tried:

  • Delayed Load: On/Off
  • Explicit Column Selection: On/Off
  • Improved Rendering: On/Off

Can't afford to refresh() data source multiple times. Other ideas?

Anonymous
Not applicable

adding in @GregLi to review and assist. 

 

@Anonymous

Anonymous
Not applicable

I have same issues. My work around was to put a refresh button on the page but sometimes you have to click the button 3 or 4 times before the data comes back correct. I also on reset of the form select that button. It seems like average time to get the data back can vary from 30sec to 2min.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (1,677)