I have a gallery and clicking an item takes you to another screen. I use Patch() for new entries, and EditForm for editing. Once edited /added, I navigate back to the other screen with the gallery.
Only recently have I had complaints that the gallery does not auto refresh anymore and people need to pick another date (to update the gallery and then go back to the correct date), or refresh. This was not the case before.
I then tried to remedy it by setting the OnVisible property to Refresh(<Source>) and even now I am getting complaints it does not refresh, but it seems to when I use Edit mode, but not the Live version.
Is this something others are experiencing?
Edit: From testing, I think it is the gallery itself not updating, not the source.
Will bump once.
It definitely seems like the gallery is just not refreshing correctly - something recently introduced.
Hi @xzDan ,
Could you please share a bit more about your issue?
Do you mean that Gallery control could not be refreshed automatically?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
Set the OnSelect property of the "Submit" button to following:
If( EditForm1.Mode = FormMode.New, Patch('20190325_case13', Defaults('20190325_case13'), EditForm1.Updates), Patch( '20190325_case13', BrowseGallery1.Selected, EditForm1.Updates ) );
Back()
On your side, you should type:
If( EditForm1.Mode = FormMode.New, Patch('YourDataSource', Defaults('YourDataSource'), EditForm1.Updates), Patch( 'YourDataSource', BrowseGallery1.Selected, EditForm1.Updates ) );
Refresh('YourDataSource');
Back()
Please consider re-create a new app based on your data source, then try above solution again, check if the issue is solved.
If the issue still exsits, please consider turn off the "Improved app rendering (final validation)" option within Advanced settings of App settings of your app, then re-publish your app, check if the issue is fixed.
Best regards,
I will try turning off improved rendering.
The issue is not the source being updated - this is fine. It is that the gallery itself does not refresh. I see the loading spinner at the top, but it isnt until I navigate away or something that it updates properly again. Perhaps something with the gallery being cached?
Hi @xzDan ,
Currently, I could not reproduce your issue on my side. Please also consider clear cache of your browser, and then run your app again, check if the issue still exists.
If the issue still exists, please consider submit an assisted support ticket for forther help through the following link:
https://powerapps.microsoft.com/en-us/support/pro
Best regards,
Hi
I have submitted a ticket, thank you, as the issue is shared by others using the app and only started last week (this has been in use for several months now)
any solution for this bug ? i experience the same problem
any update on this? same issue
I have a gallery
Something is updated in SharePoint list
I hit refresh and nothing in gallery changes
i tried to collect data to the collection and then updated it in sharepoint list
it works for me
I am having the exact same issue with Dynamics as a datasource.
Adding a new weight works fine, but my gallery should remove any animal with a weight measurement taken today, so they are not duplicated.
The weights are adding, the date is correct, and the gallery updates once you exit out and re-enter the gallery, but it does not refresh using a refresh button, nor does it do it when navigating back to the gallery, and the Refresh function is in the formula of the navigation as well.
This is causing real issues, as my staff cannot use the app as it stands, as it is not working as it should.
Can someone shed any light?
Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Did you miss the call?? Check out the Power Apps Community Call here!
User | Count |
---|---|
257 | |
203 | |
75 | |
38 | |
31 |
User | Count |
---|---|
342 | |
215 | |
118 | |
71 | |
53 |