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

Bug: Gallery doesnt refresh anymore?

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.

5 REPLIES 5
xzDan
Level 8

Re: Bug: Gallery doesnt refresh anymore?

Will bump once.

 

It definitely seems like the gallery is just not refreshing correctly - something recently introduced.

Community Support Team
Community Support Team

Re: Bug: Gallery doesnt refresh anymore?

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:7.JPG

 

8.JPG

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,

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

Re: Bug: Gallery doesnt refresh anymore?

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?

Community Support Team
Community Support Team

Re: Bug: Gallery doesnt refresh anymore?

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,

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

Re: Bug: Gallery doesnt refresh anymore?

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)

Helpful resources

Announcements
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: 53 members 4,686 guests
Please welcome our newest community members: