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 / Component Creation - B...
Power Apps
Unanswered

Component Creation - Best Practice

(0) ShareShare
ReportReport
Posted on by 3
Hello everyone,
I need your help! 😊
I'm trying to increase the usage of PowerApps components in my apps to be more agile in customization and implementation. Currently, I'm working on developing a left-hand vertical menu for my apps, which will allow users to navigate between screens.
I would like to request your guidance on the best practices for developing this component.
Specifically, for the vertical menu, I'm creating a component that will mainly consist of a vertical gallery displaying a table with the following columns: "PageName", "PageID", "PageIcon" (using SVG icons), and "PageNavigation" (the name of the app screen to navigate to when the gallery button is pressed).
I see two ways to achieve this:
  1. Way 1: Create a table-type property for the component (let's call it "MenuList"), set this property with a Table() containing the information listed above, and then set the Gallery's Item property to <Component.MenuList>.
  2. Way 2: Set the Table() directly in the Gallery's Item property.
Question: Is it better to prefer Way 1 or Way 2? Could you please advise on the pros and cons of each approach?
Thanks in advance! 😊
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    Thank you for posting and welcome!
     
    Tiny suggestion, in the future, if you post a picture of what you are trying to build (even a mock) it really helps just ot make sure we do not miss anything.
     
    If you are looking to use a Dynamic approach to setting the "galleries" menu items, then you are going to have to use a Property as in #1 and set that in the Items
     
    This is a better approach so that you do not have to turn on Scope Access. As the only way you would set the "menu's" items property directly..
     
    You are doing super well using Option 1. If you have other questions, or specific design ones, please feel free to post another question and share them and you can even At directly.
     

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