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 / How do I reset Breadcr...
Power Apps
Answered

How do I reset Breadcrumb navigation when I navigate to another screen?

(0) ShareShare
ReportReport
Posted on by 367

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

Bunly11_0-1661040891636.png

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

Bunly11_1-1661040978060.png

 

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!

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @Bunly11 ,

     

    My first try would be to use the same code as in OnStart to initiate the navigation:

     

    Set(varFolderPathCurrent, "DrugDocuments/")

     

    There's no need to reset the galleries, so you can change the OnSelect property of the back button to:

     

    Back(); Set(varFolderPathCurrent, "DrugDocuments/");
  • Bunly11 Profile Picture
    367 on at

    Hi @BCBuizer - thank you! I did have the onstart already and added it to the navigation and it worked 😁

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard