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 / Navigating with Side N...
Power Apps
Unanswered

Navigating with Side Navigation and Container Issues

(0) ShareShare
ReportReport
Posted on by

Hi All

 

I am building an application where the navigation on on a container to the left and the content will be displayed in the maincontentcontainer on the right side of the screen, I cannot figure out how when I press one of the buttons how to get the content into the maincontentcontainer

 
 

This is the app

error 1.png

This is what I have right now

 

error 2.png

 

Hope you can help

 

Many Thanks


Rob

Categories:
I have the same question (0)
  • GarethPrisk Profile Picture
    2,828 on at

    What screen of your app, is that screenshot from? The action you have listed would navigate the user to the 'Personal Information' screen. I believe you are trying to remain on the same screen, but show different content within the 'MainSectionContainer1' container.

     

    This could be accomplished with a variable, but I caution you about layering too many controls and using variables to show/hide. This can become both tedious to code, and slow for the user (as screen complexity increases).

     

    Instead, you can use the layout you've shown and use the same buttons (or a component) to act as the navigation. Then by clicking the button, the user will navigate to a screen with the appropriate content in the screen's particular 'MainSectionContainer1' (it will be named differently, if copied, and should be named to match the screen).

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-component

     

    Some quick tips

    1. Define your app's areas/screens (Home, Personal Information, Observations, etc.)
    2. Create screens with the container layout for each area
    3. Create a navigation component, or simply define your navigation buttons (as best you can) on a single screen
      • Buttons for X area
      • Set the OnSelect to navigate to the appropriate screen (area)
      • Set the button's Fill dynamically
        • On the Home button, for example
        • If(App.ActiveScreen = 'Home Screen', Blue, Red)
      • Again, these should be within a component, but you will need to learn how to pass app context to the component and vice-versa - we can help!
    4. Once you're happy with the buttons (either as buttons, or component)
      • Copy these navigation buttons or component into all of your screens

     

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard