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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to build a header ...
Power Apps
Answered

How to build a header component with buttons for screen navigation

(0) ShareShare
ReportReport
Posted on by 36

 

This is a project with 2 screens, and I d like to add a header as below: 

 

MiaSunny_0-1717803709155.png

2 buttons on header for the user to switch to the other page:  

MiaSunny_1-1717803794657.png

But the formula for navigate doesn't work on the buttons, it cannot recognize the screen names.

(the button works if on each screen instead of on the component) 

MiaSunny_2-1717803822854.png

MiaSunny_3-1717803905004.png

In my daily work i have to build several screens like below(current ms webpage), but all options are buttons not dropdowns for each page (no subpages). wondering if it is possible to build a header component and set the buttons for screen1, screen2 ...etc. if the names of screens are not supported could we do index or something to referral it. 

MiaSunny_4-1717803956588.png

Currently I make a header with several buttons and duplicate it to all screens, but on updating have to modify all pages and buttons one by one so I am looking for a better solution. I tried the new modern control Tablist to control some containers visible or not, so all contents are in one screen, but lower the performance a lot. 

 

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    JonDoesFlow Profile Picture
    1,304 on at

    Hey, I think this guide from Rory Neary will help you

     

    https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/PowerApps-Tuesday-Tutorials-43-Components-Navigation-Bar/td-p/278934

    ---------------------------------------------------------------------------


    If I have helped you with an answer, please accept this post as a solution and thumbs up my reply. Thanks !

    Blog - JonDoesFlow
    Twitter - JonDoesFlow
    YouTube - JonDoesFlow

  • MiaSunny Profile Picture
    36 on at

    This is super helpful even in 2024! Thank you so much for sharing this. 

    I thought there could be some hidden variables to control the count and the object of navigate(), then we could get dynamic count of icons/buttons according to the screens we selected, and navigate to each screen by its index. It's my misunderstanding on how to use the components. But wish we could have controls support that -- may a button group control for dynamic buttons.  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard