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 / Gallery folder name do...
Power Apps
Unanswered

Gallery folder name doesn't update when opening different list items - cache issue

(0) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1

Hello,

 

On the below Canvas App, when a new list item is created, there is a Flow that goes and creates a folder in a document library with the same name as what is highlighted in the "Contract Ref" field - you can see this is shown in the "Contract Documents section below.

CSR1.jpg

 

You will see that when I open another list item, the "Contract Documents" name doesn't change. This appears to be cached from viewing the previous entry. Is there any way of clearing this cache so that when you open a list item, the folder name is always displayed? As this is proving to be quite a major issue for me.

 

CSR2.jpg

As you can see below, both folders exist.

CSR_folders.jpg

Categories:
I have the same question (0)
  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    Are they being displayed in a gallery? How are yo getting the info to that control? Can you reset the control after the folder is created and when you change the contact reference?

  • sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at

    The OnVisible of the form is set to:

    UpdateContext({ctxFolderPath:Concatenate("Contracts/" , First([@Register]).'Contract Ref')});
    Refresh([@Contracts])

    and the Items of the gallery is set to:

     

    Filter(Contracts, 'Full Path' = ctxFolderPath)

     

    Where "ctxFolderPath" has been setup as a variable.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard