Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Image in Gallery only resets when screen reloads

Hello. I am having an issue with the image control in my gallery not resetting or refreshing, only doing so when the screen is loaded in. So it only resets when you leave the screen and come back.

This is my test app:



When I select the Upload Image button, it uploads the image to my blob storage container, and then creates a record in cds with that image's url containing a shared access key. This works fine and the url works. After this is done, I store all of the urls into a collection:


The issue though, is how the image works for all urls except for the one I just uploaded. It remains blank despite the url being there. I've tried refreshing the data source that holds the urls before creating the collection, resetting the gallery, and recreating the collection. Even after the collection has been created, I've tried refreshing the data source again, and resetting the gallery again, making gallery invisible then back to visible, and recreating the collection by doing a clear first and then doing a collect. None of it works, the image remains blank while the others are fine.

The only way I've gotten this to work is by navigating to another screen upon finishing the upload, and then coming back and creating the collection in the OnVisible property of the screen. If I do it that way, it works but I don't really like to having to go to another screen just to come back. 

Does anybody know a way to get this to work without having to go to another screen and come back? Thank you.

Super User III
Super User III


What happens if you get rid of the collection and just use the datasource collection?

Filter(ImageUrlTests, TICKET_NO=Gallery...<the rest of your filter criteria here>...)


I hope this is helpful for you.

Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

Unfortunately, it didn't work either. It seems the only way it works is to to navigate to another screen and then return. Upon return I refresh the datasource, clearcollect the collection, and then reset the gallery. But doing those without switching screens doesn't work.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (58,015)