web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Refresh gallery that i...
Power Apps
Answered

Refresh gallery that is connected to Azure Blob storage

(0) ShareShare
ReportReport
Posted on by 14

I have a screen that uses the gallery to display the files from Azure Blob Storage. The user allow to download the files from when they click the download button. I am setting up a refresh button for the user to manually refresh the gallery to check if there is new files created in the blob storage folder. However, I cannot use the Refresh() and ClearCollect() function.

I am using another script from another post to view the files in the gallery (https://powerusers.microsoft.com/t5/Building-Power-Apps/Get-list-of-all-blobs-by-folder-in-powerapp-using/m-p/2182888/highlight/true#M546590)

Is there anyone can help why the gallery is not being refresh when I click the refresh button?

Categories:
  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi @henrychoiyw 

     

    The `Refresh()` function is used to refresh the data source, not the Gallery controls.

     

    Instead of using `Refresh()`, use the `Reset()` function. For example, `Reset(Gallery1)` may help you achieve the desired outcome.

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

  • henrychoiyw Profile Picture
    14 on at

    Hi @Rajkumar_404 ,

    Thank you very much for your reply.

    I tried the Reset() function. I can see the Reset has been done (the selected document - bold has moved back to the first item), but the list has not been update or reset. I have a list of 7 files in the blob storage and I manually deleted 1. But the list still show 7 files.

  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Refer to this video,

     

    This may help you, Instead of using the OnVisible property of the screen, try using the OnSelect property of the button.

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

     

  • henrychoiyw Profile Picture
    14 on at

    Hi @Rajkumar_404 ,

    I have added a "Reload" button and with the button onSelect function, still does not work.

  • Verified answer
    Rajkumar_M Profile Picture
    3,747 Moderator on at

    Are you refer this video: https://youtu.be/wF0MmiaGO_o?t=1208

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard