Skip to main content
Microsoft logo
Power Apps
    • AI Builder
    • Automate processes
    • Azure + Power Apps
    • Build apps
    • Connect data
    • Pages
    • Take a guided tour
  • Pricing
    • Overview
    • Become a Partner
    • Find a Partner
    • Find partner offers
    • Partner GTM Resources
    • Blog
    • Customer stories
    • Developer Plan
    • Documentation
    • For IT Leaders
    • Roadmap
    • Self-paced learning
    • Webinars
    • App development topics
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • User groups
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Power Apps Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power Apps
    • Building Power Apps
    • Microsoft Dataverse
    • AI Builder
    • Power Apps Governance and Administering
    • Power Apps Pro Dev & ISV
    • Power Apps Portals
    • Connector Development
    • Power Query
    • GCC, GCCH, DoD - Federal App Makers (FAM)
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Community Blog
    • Power Apps Community Blog
    • Galleries
    • Community Connections & How-To Videos
    • Community App Samples
    • Webinars and Video Gallery
    • Canvas Apps Components Samples
    • Kid Zone
    • Emergency Response Gallery
    • Events
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    • Community Engagement
    • Community Calls Conversations
    • Experimental
    • Error Handling
    • Power Apps Experimental Features
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Power Apps Community
    • Galleries
    • Canvas Apps Components Samples
    • Flyout Menu Component (Left/Right)

    Flyout Menu Component (Left/Right)

    09-25-2019 00:39 AM - last edited 12-17-2021 14:10 PM

    Edwin-Abdalian
    Impactful Individual
    28592 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    Edwin-Abdalian
    Edwin-Abdalian Impactful Individual
    Impactful Individual
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    Flyout Menu Component (Left/Right)

    ‎09-25-2019 12:39 AM

    I've created a flyout menu which is very easy to configure and reuse in your apps.

    Just 3 steps:

    1. Create a button to show/hide the menu and set the OnSelect property of it to UpdateContext({locShowMenu: !locShowMenu)
    2. Insert the Component and set these custom properties:

    **Data Source = collection or a table

    Table(
        {
            Title: "Home",
            MenuIcon: Home,
            Screen: Screen1
        },
        {
            Title: "Appointments",
            MenuIcon: AddToCalendar,
            Screen: Screen2
        })

    **Show Menu = locShowMenu

    **Left Side Flyout = true (if you would like the menu to fly in/out from left. else set it to false to make it a right side flying menu

     

    1. Set the Visible property of the component to “Name of the Component”.ComponentVisibility. for example ‘Flyout Menu_1’.Component Visibility

    Custom Properties.png

    Preview file
    83 KB
    Flyout Menu.msapp
    Labels:
    • Labels:
    • Components
    Message 1 of 44
    28,592 Views
    13 Kudos
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    • « Previous
      • 1
      • 2
      • 3
      • 4
      • 5
    • Next »
    SighlentNite
    SighlentNite
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-12-2020 10:43 AM

    This is really awesome.

    I just have an issue, I can't edit the gallery at all to edit or add items.
    I wanted to perhaps add a HTML text as the name so that I can use another component as use external Fonts.
    And then swap the icon for an image so I can use external images I have.

    Message 11 of 44
    2,634 Views
    0 Kudos
    Reply
    Anonymous
    Not applicable
    In response to SighlentNite
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-15-2020 06:39 AM

    @Edwin-Abdalian - This is exactly the solution I was looking for!  I have one issue though and it's the icons.  For the menus DataSource property I am using the following code. Please note for the MenuIcon, I have tried it with and without "Icon." (highlighted in blue below) and the icons simply don't render (they display text - see screenshot). Any recommendations?

    Table(
    { Title: "Home", MenuIcon: Icon.Home, Screen: screenHome },
    { Title: "Appointments", MenuIcon: Icon.AddToCalendar, Screen: RequestTeamsSite }
    )

     

    Also there are no examples of how to use a collection for the DataSource property. I tried using a collection and it had errors. 

    Text rendered instead of iconsText rendered instead of icons

     

    Message 12 of 44
    2,612 Views
    0 Kudos
    Reply
    Edwin-Abdalian
    Edwin-Abdalian Impactful Individual
    Impactful Individual
    In response to Anonymous
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-16-2020 04:44 PM

    Because you have bound an icon to a label control. add a new Icon control to your gallery and set Icon = MenuIcon

    Message 13 of 44
    2,597 Views
    1 Kudo
    Reply
    Anonymous
    Not applicable
    In response to Edwin-Abdalian
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-18-2020 12:03 PM

    Thank you @Edwin-Abdalian for your response.  The component already has an icon image with the icon property already set to MenuIcon. Are you saying I need to delete the existing MenuIcon and add a new instance back?  Any recommendations are greatly appreciated.

     

     

    Message 14 of 44
    2,583 Views
    0 Kudos
    Reply
    Edwin-Abdalian
    Edwin-Abdalian Impactful Individual
    Impactful Individual
    In response to Anonymous
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-19-2020 06:53 PM

    Never seen that issue. try to remove and re-insert it as you suggested. you can also add a brand new gallery and see if you get the icons displayed correctly in the gallery.

    Edwin

    Message 15 of 44
    2,577 Views
    1 Kudo
    Reply
    Anonymous
    Not applicable
    In response to Edwin-Abdalian
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-20-2020 12:03 PM

    Hey @Edwin-Abdalian - I ended up creating a copy of the component and it was successful.

     

    One thing to note is that my issue with icons failing to render began occurring as I tweaked the DataSource property of the component instance that I inserted on the screen. The issue started occurring when I began to edit the icon names the DataSource property as shown below.  For example, I changed the icon name Documents to Search (which is reserved formula name).  Perhaps introducing a reserved word caused an unforeseen issue. You can see below that Search is highlighted by the formula editor.

    NOTE: I have omitted the opening "Table(" and closing ")" code in the screenshot.

    flyout menu icons DataSource - Using SEARCH for icon.PNG

    That is the only thing I can point to as a catalyst for introducing icon issues in the component.   

    Message 16 of 44
    2,567 Views
    0 Kudos
    Reply
    marsdendd
    marsdendd Helper II
    Helper II
    In response to Anonymous
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎06-03-2020 04:42 AM

    Hi @Edwin-Abdalian 

     

    First, great component. THANKS FOR SHARING

     

    I am having a slight issue in that the menu doesnt autocollapse when navigating to the next screen and then when returning to the previous screen it remains out meaning I have to close it to get the the gallery menu underneath.

     

    Can you guide me on perhaps where I would need to set the variable to ensure whenever i navigate to a new screen the variable is set to ensure the flyout is set back to its default (closed) position.

     

    THANKS

    • Component
    • Flyout
    Message 17 of 44
    2,522 Views
    0 Kudos
    Reply
    SighlentNite
    SighlentNite
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎06-03-2020 01:11 PM

    Hi, 

     

    first off thank you for the wonderful component. I have just had a small issue where I am unable to edit the gallery to add new components
    I am currently using HTML text instead of labels as it allows me to use any font I want(using google loader component)

    This means that this menu now looks quite different from the rest of the application.
    Is there something I am missing.
    All I want is to add an HTML text to the gallery and perhaps and image instead of an icon(so that I can use a wider array of pictures for buttons)

    Thank you for your time

    Message 18 of 44
    2,510 Views
    0 Kudos
    Reply
    Edwin-Abdalian
    Edwin-Abdalian Impactful Individual
    Impactful Individual
    In response to marsdendd
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎06-03-2020 08:56 PM

    Try to set UpdateContext({locShowMenu: false}) when navigating away from each screen or on the OnVisible of each screen.

    Message 19 of 44
    2,497 Views
    0 Kudos
    Reply
    Edwin-Abdalian
    Edwin-Abdalian Impactful Individual
    Impactful Individual
    In response to SighlentNite
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎06-03-2020 09:18 PM

    @SighlentNite  have you tried to edit the component itself? select the component tab from the tree view and you will see the gallery there.

    treeview.PNG

    Message 20 of 44
    2,493 Views
    0 Kudos
    Reply
    • « Previous
      • 1
      • 2
      • 3
      • 4
      • 5
    • Next »

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Pages
    • Power Automate
    • Power Virtual Agents

    Browse

    • Sample apps
    • Services

    Downloads

    • Windows
    • iOS
    • Android

    Learn

    • Documentation
    • Support
    • Community
    • Give feedback
    • Blog
    • Partners

    • © 2023 Microsoft
    • Follow Power Apps
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks
    California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices