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

Community site session details

Session Id : e/xHT/rAvPuyNxKMfLiD7p
Power Apps - Building Power Apps
Answered

Refresh gallery that is connected to Azure Blob storage

Like (0) ShareShare
ReportReport
Posted on 20 May 2024 06:30:37 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?

I have the same question (0)
  • Verified answer
    Rajkumar_M Profile Picture
    3,716 Super User 2025 Season 2 on 20 May 2024 at 10:03:47
    Re: Refresh gallery that is connected to Azure Blob storage

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

  • henrychoiyw Profile Picture
    14 on 20 May 2024 at 09:53:26
    Re: Refresh gallery that is connected to Azure Blob storage

    Hi @Rajkumar_404 ,

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

  • Rajkumar_M Profile Picture
    3,716 Super User 2025 Season 2 on 20 May 2024 at 09:24:33
    Re: Refresh gallery that is connected to Azure Blob storage

    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 20 May 2024 at 08:31:44
    Re: Refresh gallery that is connected to Azure Blob storage

    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,716 Super User 2025 Season 2 on 20 May 2024 at 08:21:29
    Re: Refresh gallery that is connected to Azure Blob storage

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete