Showing results for 
Search instead for 
Did you mean: 
Post Partisan
Post Partisan

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



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.



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.



As you can see below, both folders exist.


Super User
Super User

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?

The OnVisible of the form is set to:

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

and the Items of the gallery is set to:


Filter(Contracts, 'Full Path' = ctxFolderPath)


Where "ctxFolderPath" has been setup as a variable.

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,110)