Hello -
Having trouble figuring out how to reset a breadcrumb navigation that I was able to replicate following
Power Apps Navigating Folders & Subfolders In A SharePoint Document Library (matthewdevaney.com)
I want to reset the breadcrumb navigation back to "DrugDocument" if the user navigates back and forth or selects a different drug. I tried OnSelect below but that didn't work.
Back(); Reset(GalleryBreadcrumbNav) & GalleryDrugDocument)
If I select my first drug all the documents show

But if I hit the back arrow and select another drug it keeps the old breadcrumb

The item property for GalleryBreadcrumbNav is
Split(Left(varFolderPathCurrent, Len(varFolderPathCurrent)-1), "/")
The item property for GalleryDrugDocuments is
SortByColumns(
Filter(
DrugDocuments,
DrugID = varRecord.ID,
'Folder path' = varFolderPathCurrent
),
"{IsFolder}",
Descending,
"{Name}",
Ascending
)
How do I get these galleries to reset?
Thanks so much in advance!