PowerApps Left Navigation Component

Поделиться
HTML-код
  • Опубликовано: 30 май 2024
  • #PowerApps #PowerAppsMenu #Components
    In this video on Left Navigation Component - PowerApps, we will go through a step by step walkthrough of building a responsive Left Navigation Component / Flyout component / Menu Bar Component in Power Apps.
    PowerApps left navigation component can be reused across multiple screens or Apps.
    Canvas components make it easier to build reusable controls, such as navigation menus and dialogs.
    The ‘master’ / ‘instance’ behavior makes it easy to reuse them as building blocks inside the app or shared between apps.
    By creating a component library, app makers easily share and update one or more components with other makers.
    Download component: github.com/rdorrani/PowerApps...
    **** 2 things I missed showcasing in the video (It is part of the component available for download) which will highlight the current element selected in the Left Navigation Gallery
    1) galNavigation Default property set to LookUp(LeftNavigation.NavItems,Screen=App.ActiveScreen)
    2) rectSelected Visible property set to
    ThisItem.IsSelected

Комментарии • 464

  • @davidc9652
    @davidc9652 4 года назад +38

    This was an extraordinarily awesome tutorial. You explained it very clearly and I was able to learn a lot from doing exactly what you said to do. It worked the first time, which rarely happens! Thank you so much, Reza, for sharing your knowledge.

    • @RezaDorrani
      @RezaDorrani  4 года назад +1

      Hi David,
      Thank you for your kind words.
      My goal is to provide content which is relevant and easy to replicate by following the video.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Thank you David. Hope my channel keeps providing useful content.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Thank you for the amazing feedback :)

    • @RezaDorrani
      @RezaDorrani  3 года назад +2

      Most welcome and thanks for watching

  • @asbjborg
    @asbjborg 4 года назад +35

    Thanks a lot for this tutorial, very helpful. You forgot to make the rectangle show only on selected screen. It's quite easy but I'll paste it here for other watchers.
    On the rectangle element, set this code in the Visible controlfield:
    If(App.ActiveScreen = ThisItem.Screen;true;false)

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks for the tip!

    • @mark_axtell
      @mark_axtell 3 года назад

      @@RezaDorrani struggling to get this to work!

    • @mark_axtell
      @mark_axtell 3 года назад +4

      Sorted it, its meant to be a , instead of ;

    • @jonathancopin8093
      @jonathancopin8093 3 года назад +6

      You can directly write this:
      App.ActiveScreen = ThisItem.Screen
      It will return true or false

    • @likeminas
      @likeminas 3 года назад

      you're the real MVP

  • @greg2kdotcom
    @greg2kdotcom 3 года назад +4

    Just discovered your channel an hour ago and I already anticipate I'm going to be binge-watching it. This video in particular is incredibly relevant to me and very well explained. Thanks!

  • @BrendonBrooks
    @BrendonBrooks 3 года назад +1

    Dude...this tutorial is the bees' knees. Fantastic job. Saved me a lot of time and frustration.

  • @cristovaodarosa2050
    @cristovaodarosa2050 3 года назад +5

    Mais uma grande aula!👏👏
    Mesmo sem falar seu idioma tenho aproveitado as suas dicas.
    obrigado.

  • @tristangeoffroy9286
    @tristangeoffroy9286 2 года назад +2

    Hello Resa, thank you so much for this tutorial, like the others already said, you save us so much time, your explanations are crystal clear, and progressive.

  • @Lagging69
    @Lagging69 4 года назад +3

    Your work is truly commendable. So neat and accurate. I knew you're the guy when I saw your tutorial on uploading files to SharePoint document library through add an attachment control and gallery control. Keep up the good work 👍

    • @RezaDorrani
      @RezaDorrani  4 года назад +1

      Thank you for your kind words

  • @anthonyleduc
    @anthonyleduc 2 года назад +8

    On the one hand, we have the super shane with exciting technical videos. On the other hand, we have the incredible reza that has the advantage of being comfortable in design and technique.
    It's just amazing and it's so beautiful. And in addition it's super clear. I am not English and yet I understand almost everything. Thank you a thousand times reza

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thank You Anthony for the amazing feedback 🙏

  • @sashawarchoon1989
    @sashawarchoon1989 2 года назад +1

    This channel is the only thing you need in order to learn Power Platform! Really cool! Thanks to Reza

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Happy to hear that! Thank You so much.

  • @paulorubebe7308
    @paulorubebe7308 3 года назад +8

    I don't think you know how important you are to us, new developers. You are Amazing Sir!!!!!!!!!!!!!! It was extremely helpful. Thank you so much!!!! I've subscribed, and I am ecstatic about watching other videos.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thank you for the kind words and thanks for the sub.

  • @Magayshibeo
    @Magayshibeo 2 года назад +1

    I have watch other RUclips video about left menu, but no one give me such details guide like yours, really really appreciated. Keep moving on with your amazing tutorial! Subscribed to your RUclips channel!!!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thank you for the amazing feedback! I will keep trying my best.

  • @liraspberry6966
    @liraspberry6966 3 года назад +4

    Thank you so much for the video! very detailed. I have learned a lot! It's awesome that you have been sharing your knowledge!!

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Appreciate the wonderful feedback

  • @mannymorales7913
    @mannymorales7913 3 года назад +1

    Thank you, Reza for such an enlightening tutorial! Cheers!

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      You are most welcome Manny

  • @mydwightstifler
    @mydwightstifler 2 года назад +1

    Jesus. This just opened my eyes wide open. Super great job, Reza!!

  • @emmettthompson2167
    @emmettthompson2167 Год назад +1

    Thank you Reza! Great tutorial!! I've already made and imported my own greatly modified navigation bar! It works!!!

  • @asifkhawaja
    @asifkhawaja 4 года назад +1

    Hi Reza, amazing video demo on building components. This will help us a lot in the upcoming projects. Thanks for sharing the component itself as well. Waiting for more vidoes.

  • @1155074
    @1155074 3 года назад +2

    Mr. Reza you are Amazing, you are definitely the best, your presentations are direct to the point, we seek your presentation to learn one thing and we come out with 100 things.

  • @smritimondal8965
    @smritimondal8965 3 года назад +1

    You are just awesome. Your way of explaining is fabulous.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thank You. I am working on a V2 for this menu.

  • @dhubach1
    @dhubach1 Год назад +1

    You have completely taken my career to the next level. Raise incoming. Watch your videos every day! Please don't stop!!!

    • @RezaDorrani
      @RezaDorrani  Год назад

      Congratulations to you & thanks for watching the videos.

  • @gerfer6261
    @gerfer6261 4 года назад +1

    You are entitle for a medal
    I already watched twice and took down notes, I am going to start duplicating what shown .
    need to go through again because I am old and green
    I take my hat for this- thanks

    • @RezaDorrani
      @RezaDorrani  3 года назад

      My biggest medal is such amazing feedback. Thank you!

  • @chrisproctor2854
    @chrisproctor2854 Год назад +1

    Another banger of a video! I am making sure to go and comment on the videos I watched to help you out!

  • @jr713121
    @jr713121 2 года назад +1

    This was an Amazing Tutorial about a very handy feature. Thank you so much Reza!

  • @mahenderasingh454
    @mahenderasingh454 Год назад +1

    Very Nicely explained and easily understood even viewer has no knowledge of Power Apps. Please keep continue the great work to help community.

  • @meenakshibansal2253
    @meenakshibansal2253 2 года назад +1

    Thank you so much for your tutorials. They are the best and very very helpful for beginners like us

  • @naderhayek3310
    @naderhayek3310 3 года назад +1

    Excellent video, well explained and serves the purpose!!

  • @manikanta-sr3zc
    @manikanta-sr3zc 3 года назад +1

    Thank you very much sir I am very happy and you have explained each step in a clear manner

  • @sandrasoniec1895
    @sandrasoniec1895 Год назад

    As always, extremely helpful. Thanks for sharing Reza

    • @RezaDorrani
      @RezaDorrani  Год назад

      Glad to hear that! Thanks for watching

  • @yeskumar78
    @yeskumar78 Год назад +1

    Thank you for sharing the detailed tutorial.. it's awesome..

  • @aurelienlarcher
    @aurelienlarcher Год назад +1

    Very very nice tutorial, it worked perfectly on my app.
    This menu adds a big added value. Thank you Reza

  • @njoy2075
    @njoy2075 2 года назад +1

    Awesome lecture. very clear step by step

  • @evitweetie7115
    @evitweetie7115 2 года назад +1

    Awesome tutorial-thank you Reza 🙏🏼

  • @sujisam5508
    @sujisam5508 3 года назад

    Very useful one , Thanks a lot for your detailed demo Reza!

  • @HowToExcelBlog
    @HowToExcelBlog 3 года назад +1

    Great demo. Thanks!

  • @SHAli1474
    @SHAli1474 2 года назад +1

    Kudos, crystal clear.
    Thanks Reza

  • @matthewvandersteen7738
    @matthewvandersteen7738 3 года назад +1

    Thanks for this tutorial, Reza!

  • @tordsonander
    @tordsonander 3 года назад +2

    Exactly what i was after! Thank you Reza for making it easy to follow and understand!
    However following these tutorials from another language settings makes for some pitfalls. Of course the ; instead of , as mentioned in a comment to Asbjörns contribution.
    The first i stumbled upon was that when i do ClearCollect i have to surround my collection name with single quotes to make it work.
    Second is that i have to separate the two commands (set var to false and then navigate) with double semicolons. Sometimes it is ;; and sometimes & is sufficient.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Glad you found it useful.
      The regional settings do impact the formulas. I do wish the formula syntax was consistent for all regions.

  • @MattSchuessler
    @MattSchuessler 3 года назад +3

    Great Video! Thanks for making it! I was hoping you were going to include how to show which navigation item is active based on what screen you are on, but i believe it is as simple as this: Set the visable property of the Rectangle to If(App.ActiveScreen = ThisItem.Screen, true, false)

    • @RezaDorrani
      @RezaDorrani  3 года назад +2

      I released a new version of this component recently - ruclips.net/video/3S0h2nODcxM/видео.html
      Includes a lot more enhancements.

  • @conaxlearn8566
    @conaxlearn8566 2 года назад

    I'm going to take this and try to build a top breadcrumb. Thank you Sir!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Awesome! Good luck 👍

    • @conaxlearn8566
      @conaxlearn8566 2 года назад

      @@RezaDorrani Hahaha, it doesn't work without a horizontal flexible gallery. 😓

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@conaxlearn8566 You will need to have a fixed width.

  • @erinbarajas758
    @erinbarajas758 3 года назад +1

    Awesome video! Thanks so much!

  • @MrDionmar
    @MrDionmar Год назад +1

    Excelent Reza!!! Tks for sharing!!!

  • @yvonnew2010
    @yvonnew2010 3 года назад +1

    Excellent tutorial. Thank you

  • @gerfer6261
    @gerfer6261 4 года назад +4

    After lot of stops and starts I done it
    Component is created.
    Hoooooooooooooooooraaaaaaaaaaaaaaaaaay
    thanks a lot ( need to practice few more times)

  • @skarJones
    @skarJones 3 года назад +1

    Outstanding. Thank you, Reza. (Subscribed)

  • @prajwalskateel
    @prajwalskateel 3 года назад +1

    Great and very helpful videos, thank you😊

  • @samhall100
    @samhall100 3 года назад +1

    very very very very very helpful!!! thank you

  • @jacobbradley9541
    @jacobbradley9541 3 года назад +1

    Great detail. Thanks.

  • @merfatel-mansi4024
    @merfatel-mansi4024 3 года назад +1

    it is really awesome tutorial , very clear and amazing , thanks a million \

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Glad you liked it!
      There is also a version 2 of the component. Check it out here - ruclips.net/video/3S0h2nODcxM/видео.html

  • @fakharahmedkhan5157
    @fakharahmedkhan5157 Год назад +1

    What a fantastic tutorial it was, Amazing.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Thank you! Cheers!

    • @fakharahmedkhan5157
      @fakharahmedkhan5157 Год назад

      @@RezaDorrani The rectangle(Blue Bar) which we added near to the icons should only be visible when that Home, Task or Detail Screen is selected. I tried to achieve it by setting up visible property but could not. :-(

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@fakharahmedkhan5157 I will have to see your code and app in action to know why. I always recommend posting issues/queries with screenshots to forums at powerusers.microsoft.com/

    • @fakharahmedkhan5157
      @fakharahmedkhan5157 Год назад +1

      @@RezaDorrani I will do some research and try to fix it. But I must say we have built an entire app by seeing your tutorials. Cheers 👏 ✌️

  • @jimmydoe1653
    @jimmydoe1653 2 года назад +1

    Another outstanding video. I really can't describe how valuable and inspiring your tutorials are - I'm using so many of them to build my first app with confidence!
    However :-( being new, I got a bit lost in where to modify/ add / take away more Title/Screen/ Icons in the navigation menu. Is it in the component itself, OnStart, bit of both?
    Thanks again!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thank You Jimmy.
      OnStart in the colNavItems collection.

  • @DeepPatel-lz8fj
    @DeepPatel-lz8fj 3 года назад +1

    Thank you soo much sir!!

  • @Scouty208
    @Scouty208 2 года назад

    This is by far the best tutorial I've seen on making a left navigation menu. One question though, when you were creating the lblTitle you set the PaddingLeft property to 70 instead of setting the X property to 70 even though they both seem to do the same thing. Is there any particular reason why you would use padding instead of x? Thanks!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thank You so much!
      I honestly do not remember - it's been more than a year since I build this :)
      I don't think it makes a difference using X or PaddingLeft.

  • @kevinbriz17
    @kevinbriz17 3 года назад +1

    Thanks Reza. I will use this for many an app.
    The only change I would consider is to make the gallery rectSelected Visible property 'ThisItem.IsSelected' so it is only visible when selected, just like the PowerApp menu.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Your suggestion is spot on.
      I think I added this later to the video description since I missed it as part of the video.

  • @laikahmed7120
    @laikahmed7120 2 года назад +1

    Hi Reza, Excellent Video on Left Navigation, I did it with you while watching this video and it worked. :) Thanks.... Can you please show more on sub-Menu or Parent - Child Menu options as well ....

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thank You.
      Here is the V2 video - ruclips.net/video/3S0h2nODcxM/видео.html

  • @jhormangomez2268
    @jhormangomez2268 3 года назад +1

    Fabulous!

  • @htgungor1891
    @htgungor1891 2 года назад +1

    Another excellent video Reza, thanks a lot!
    I wonder if the same thing you did here with scrollable screen by adding the canvas control of this screen into a normal screen can be done with the Container control as well? Appreciate if you can clarify this. As a beginner PowerApps maker that would be really helpful info for me! Thanks!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thanks.
      It is possible. But, containers themselves have scrolling behavior.

  • @suezeequu
    @suezeequu 2 года назад +1

    Hey Reza, This is amazing and I have implemented it in one of my app designs. Question - the blue selection bars you added to the component - my guess is these should display when icon or title is selected - for e.g. if I select the second icon the blue bar should show to the left of it, but should not show to the left of the first or third icon in the nav component. The bar would be like a second way of letting user know what page they are on - Is it possible to do this and if so, how can this be accomplished?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad to hear that.
      I did miss 2 formulas in my video. It is provided in the video description :)

  • @blackened7
    @blackened7 3 года назад +1

    well done sir

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks for watching.
      There is also a Version 2 of this component. Check it out here - ruclips.net/video/3S0h2nODcxM/видео.html

  • @s961201
    @s961201 3 года назад +1

    Awesome video - thanks! Do you know if this approach to menu could be combined with a timer to achieve a sliding effect?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Yes. I did it for a customer. Can be done. But involves more logic and has some complexity.

  • @jonathanobiegba4709
    @jonathanobiegba4709 3 года назад +1

    This is a great tutorial. Thanks.
    Please how can I make the rectangle stop flickering when selected? When a menu item is selected, the previous rectangle of selected menu item does not hide fast enough so the rectangles (previous and new) seem to flicker sometimes, especially on canvas screen.
    Thanks once again for sharing your knowledge.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Hi Jonathan,
      The component has a gallery which has a default property value set. The code here looks for App.ActiveScreen.
      It takes a while for Power Apps to calculate the App.ActiveScreen and hence the flickering effect.
      To avoid this, create another property in component of type Screen, set this property everytime a nav item is clicked (using component output property to set a global variable) and use this global variable as input property value.

  • @DanielADamico
    @DanielADamico 4 года назад +1

    Awesome Video Again! Reza you're the guy!
    It would also be interesting to see how you would build a navigation component w/ menu sub items as well.
    Is it possible to create a nested gallery for the menu sub items inside the main gallery of the main items?

    • @RezaDorrani
      @RezaDorrani  4 года назад +2

      Yes can be easily done by adding an additonal gallery
      I wanted to keep this video as a 101 course on learning how to build components
      But if you need a more advanced version - with sub menus
      There is one already available in the community
      powerusers.microsoft.com/t5/Canvas-Apps-Components-Samples/PPOC2020-Hamburger-Menu-Component/td-p/502950

    • @DanielADamico
      @DanielADamico 4 года назад +1

      @@RezaDorrani Thank you Reza!

  • @jasminekallicharan7516
    @jasminekallicharan7516 Год назад +1

    Thank you so much for this! What would I need to change to get it to open to the right instead of the left?

    • @RezaDorrani
      @RezaDorrani  Год назад

      You would need to change logic in the component. Its not something I can type out here on chat. There would be updates and I would have to try it out to know what it would be.

    • @jasminekallicharan7516
      @jasminekallicharan7516 Год назад +1

      @@RezaDorrani Got it! Thank you.

  • @royroque7358
    @royroque7358 Год назад +1

    This video is great and helpful. Appreciate your skills and time. By the way, I tried changing the color of "rectSelected" and background color of the item selected. For some reason, when I click other items to test, the item selected is incorrect ( they sort of bounce around). In the component screen it doesn't do that, but on Screens it does it. To elaborate, let's say I click on "Home", color changes and the focus stays on "Home", but when I start to click other nav items like "New Record", the focus goes to other nav items. I have to click "New Record" one more time for it to be selected. I mean the navigate to screen is perfect. Any idea? Thank you.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Not sure what would be causing this issue. Video description has link to download sample component. Maybe you could look into that.
      I would also recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @dmlm373
    @dmlm373 2 года назад +1

    Thank you Reza

  • @hafsteinnelvarjakobsson7805
    @hafsteinnelvarjakobsson7805 3 года назад +1

    thanks for this feature. I think I will use that a lot. As Asbjørn mentioned you forgot to explain how to get the rectangular part. I did something different. I use the TemplateFill function in the Components and use this formula If(ThisItem.Screen = App.ActiveScreen, RGBA(12, 26, 85, 0.49), RGBA(12, 26, 85, 0)). Then the background gets a little darker. If(ThisItem.IsSelected, does not work for this feature thus whenever navigated from that screen to another screen you get another view of the component.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Best part about this video was that I have seen a lot of folks build their own versions and make it better.
      I have plans for a V2 of this component.

  • @akhi0413
    @akhi0413 3 года назад +1

    It's an awesome tutorial. Can you also add a bit to it by explaining how submenu like 2nd and 3rd level menu

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks to the amazing response to this video, I do plan on creating an advanced version of this in future (2nd level)

    • @davidc9652
      @davidc9652 3 года назад

      @@RezaDorrani Would you also be able to show how to change the icons if we want to use some that are not included with Power Apps?

  • @BigLeafDropper86
    @BigLeafDropper86 3 года назад +1

    Genius!

  • @javiermatsuokadiaz4661
    @javiermatsuokadiaz4661 3 года назад +1

    Excellent video Reza! Very grateful for this and all the recommendations
    in ur videos!
    I want to develop a 2-level drop-down menu that depends on a database in excel and unfolds as it is selected. I have my doubts if I should do it with Components. Do you have any recommendation?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Thank you for the feedback Javier.
      The menu showcased in the video can have its data loaded from any data source of choice (excel included).
      Components is the right approach for building any reusable artifacts and since left navigation menu is one that will be used in multiple Apps, this is the ideal approach.
      Components accept input params (which can be menu data from your data source).
      To learn more about components and component libraries, check out these 2 videos:
      ruclips.net/video/4Y0fWojokH0/видео.html
      ruclips.net/video/KR9d3meY9BE/видео.html

    • @javiermatsuokadiaz4661
      @javiermatsuokadiaz4661 3 года назад +1

      ​@@RezaDorrani Thank you for the advice! I think i might need 2 galleries (1 nested) for building the left navigation component. But with the icon, the object name could be related from the original source? Thanks again!!

  • @schlachtaf
    @schlachtaf 2 года назад +1

    hey Reza! this is an awesome tutorial, thank you!
    Is there a way to have some persistence within screens whether the nav menu is extended or closed (passing the width between screens)?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Persistence is possible but would require some additional work. A global variable to maintain state. Variable would need to be sent as input to component to keep it extended or closed + on open close of menu component needs to send an output value to set the variable.

    • @schlachtaf
      @schlachtaf 2 года назад +1

      @@RezaDorrani thanks, I'll experiment (I think I was missing the output when I tried doing it)

    • @schlachtaf
      @schlachtaf 2 года назад +1

      @@RezaDorrani I tested around with a variable reset, but it looked a bit awkward. Since my main goal was to have the menu closed when on a new screen, I just added a Set function before Navigate to set the variable controlling the width to false (the same variable assigned to the hamburger menu). Thanks again for the videos, they are super useful.

  • @dglalperen
    @dglalperen 3 года назад +1

    nice one !

  • @pohwa1332
    @pohwa1332 3 года назад +1

    HI Reza, great video! thank you. How do you change the visibility of the side icon bar so that it only is visible when the relevant icon and name is hovered over and selected?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Check the description of the video. It has some additional settings that I missed to highlight in the video.

    • @pohwa1332
      @pohwa1332 3 года назад +1

      @@RezaDorrani thank you!

  • @smartin8707
    @smartin8707 3 года назад +1

    Hi Reza! Thank you for this amazing video! It helped me out very much. Quick question - do you think it's possible to both use the Navigate function in the gallery, and the Launch function? I have some icons that I want to point to pages in the app, but also out to some websites external to my app. So far...I'm thinking it's not possible.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Yes. You would have to include that logic as component properties. So you would pass both the launch url and the screen to navigate to.

    • @yutikapatel5995
      @yutikapatel5995 2 года назад

      @@RezaDorrani What do you mean as component properties? It is possible to get a quick example? as I am wanting to use the Launch Function as well

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@yutikapatel5995 Component has input and output properties as shown in video. I would have to try it out to provide guidance. I will recommend posting your query with screenshots on the forums at powerusers.microsoft.com/

  • @mustafahussainmohsin320
    @mustafahussainmohsin320 3 года назад +3

    Well, its absolutely a perfect walkthrough which I wanted. But, is there any thing to highlight the current selected menu in the left nav bar to show the user currently selected Screen.
    Thanks

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Check the description of the video.
      I missed that part in the video so added it to the description.

    • @mustafahussainmohsin320
      @mustafahussainmohsin320 3 года назад

      @@RezaDorrani Ty

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Hi Mustafa, Check the description of the video. It has that fix :)

  • @SHAli1474
    @SHAli1474 2 года назад +1

    Watching it again...

  • @FlorianKx
    @FlorianKx 3 года назад +1

    This is really great.
    Would you now prefer Container components over these canvas components for this usecase?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Containers are meant to help build responsive Apps. Canvas Components enable reusability.
      You can use containers in a component.

  • @papithasekar9567
    @papithasekar9567 3 года назад

    Awesome tutorial, well explained.Thank you Reza Dorrani.
    I have a question instead of Icon on table items, I want to use Drop down control for each item, how can i specify it? is that possible?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      A dropdown control in a navigation menu?
      You can do that. You would have to add that control in the component itself.
      Sorry if I misunderstood the question.
      Either ways this would be something I would have to try. But from a feasibility standpoint, it is possible

  • @saurabhpatil364
    @saurabhpatil364 Месяц назад +1

    Hi Reza , great learning from this video . Thank you . One doubt when I tried this it is working fine in design mode or even when I play the app from design mode however when I published this and play the app from service then the navigation icons and lable got vanished as soon as I navigate to next page. Could you please help me out here.
    Again it's working fine in design mode and I have repeated the same steps as you.

    • @saurabhpatil364
      @saurabhpatil364 Месяц назад

      I have created left navigation panel using reusable components in canvas app in powerapps.
      This navigation components has gallery , the input data of gallery like MenuItem name , icon and selected screen are coming from a collection which I have created on app.onstart function
      When I add this component on all screens in design mode it is working fine , even when I play the application from design mode to preview it's working good like it's changing screens on click as usual everything is good however when i published the application and opened it from powerapps service then as soon as I navigate to second screen or screens other than home screen all menuitems are vanishes like no icons and no MenuItem names . When I get back on home screen all things came up again.
      This is not the case in design mode in design mode everything is working as expected.
      Could you please help me out what can be the issue here ?

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      Thanks!
      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @jandirkvooijs7477
    @jandirkvooijs7477 2 года назад +1

    Awsome video very clear and the menu looks great. I'm using this bar now in my apps. Is it also possible to do something else then navigating to a different screen with the buttons. Like running a piece of code in the app it is being used in or changing a boolean.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Components have come a long way since this video (although they are still in preview).
      There is a new property called Behavior for a component which allows once to run Power Fx formulas.
      Check the component documentation.

  • @johnjanis714
    @johnjanis714 2 года назад

    Hi Reza,
    Thank you for putting this video together. I wanted to ask, how can you dynamically show or hide elements in the component gallery if the user is in specific lists?
    Such as if current user is not in admin list, do not show settings option in menu.
    Thank you!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I did cover this in my security videos.
      Check ruclips.net/video/J-hMMXrKMVE/видео.html & ruclips.net/video/fbDQH0vIsN8/видео.html

  • @brunolobo_92
    @brunolobo_92 Месяц назад

    Hi Reza!
    I have created like yours and it's perfect.
    Thanks for the video and tips.
    I just have a doubt:
    I created a variable for a pop-up. I included the variable to close this pop-up on the icons of left navigation. However, it's not closing my pop-up.
    Do you have some suggestion?

    • @RezaDorrani
      @RezaDorrani  Месяц назад +1

      No idea about that.I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

    • @brunolobo_92
      @brunolobo_92 Месяц назад +1

      Thanks! Anyway.
      Your explanations are really clear and mostly of my apps are created using yours tips

  • @RobinDamronII
    @RobinDamronII 4 года назад +1

    SUBBED! Your tutorial is so easy to follow. Question: how can I make the icon highlight the page I’m on?

    • @RezaDorrani
      @RezaDorrani  4 года назад

      For the Icon property you want to change or highlight (example: Color) - use a formula to evaluate if the item is selected
      Example: Icon Color property - show Red if selected, else Gray)
      If(ThisItem.IsSelected, Red, Gray)

    • @RobinDamronII
      @RobinDamronII 4 года назад

      Thanks for the reply. The code works, but since the component is on every screen, the color doesn’t follow the component to the new screen. Any suggestions?

    • @RezaDorrani
      @RezaDorrani  4 года назад

      Make sure that the gallery in the component that is driving the left navigation has the Default property set as follows
      LookUp(LeftNavigation.NavItems,Screen=App.ActiveScreen)

    • @RobinDamronII
      @RobinDamronII 4 года назад

      It worked! Thank you so much! 😁

    • @RezaDorrani
      @RezaDorrani  4 года назад

      Glad it worked !

  • @sasbenjr
    @sasbenjr 4 года назад

    Nice work

    • @RezaDorrani
      @RezaDorrani  4 года назад

      Thanks

    • @sasbenjr
      @sasbenjr 4 года назад

      @@RezaDorrani Hey Reza, unless I am making a mistake, I think there is a logic issue with using this as a component rather than a per screen gallery etc and that is the gallery.selected issue.
      Let's say I use App.OnStart for the collection of the icon table (Screen 1, Home : Screen 2: Info, Screen 3: Not built and referencing App.ActiveScreen.. Then I have your LeftNav as a component on screen one (LeftNav1) and also place it on Screen 2 and 3 (LeftNav2 and LeftNav3). User is on the home screen/first table item of Screen 1,. They select the third item, it understands the ThisItem.isSelected and displays the rectangle icon to show the user it is selected, it is all in the gallery of the component as the screen didnt swap. When I click a item that navigates to another screen, the ThisItem.isSelected reverts back to the Home icon. So while I am in another screen on Screen2 icon, the Screen1 icon is showing as default selected. I think we need a way to set a variable and select that item in the new screen gallery as it is now on LeftNav2 and doesn;t know what is selected)... any ideas?

    • @RezaDorrani
      @RezaDorrani  4 года назад

      That is correct.
      Check the description of the video.
      It has 2 points mentioned that needs to be added to the component.

  • @eduardoviniciussantos1095
    @eduardoviniciussantos1095 3 года назад +1

    First of all, congrats for the great work. Help me a lot. Well explained.
    I don't know why, after I've share my app with some co-workers, it doesn't work. The app just open and close the left menu. We are opening this at Chrome.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I have this same component running within my COVID-19 Tracking solution.
      powerusers.microsoft.com/t5/Emergency-Response-Gallery/Coronavirus-Tracking-application-Power-Apps-template/td-p/491988
      github.com/rdorrani/PowerApps/tree/master/Coronavirus%20Tracking
      The menu should work across all browsers. I did test this in Chrome.

  • @jimpiazza6631
    @jimpiazza6631 2 года назад +1

    I'm using this in an app I'm making in Teams. Can Containers adjust the width like the canvas/datacards do when the left navigation is used?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Responsive containers - Yes.
      Check my latest video on responsive design using containers ruclips.net/video/1o2L0DADzKQ/видео.html

  • @rebekahroberts4742
    @rebekahroberts4742 2 года назад +1

    Hello, I love your videos and I think my app has something from all of them. Quick question though. I want my navigation to pop out to the right, like a table of contents for a form that's on the left. Do you have any videos that show that?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have a navigation video from right to left.
      I will recommend you check on the forums at powerusers.microsoft.com/

  • @rolih6
    @rolih6 Год назад +2

    Hi Reza, I am always impressed how well are your lecures structuree. Could you please let me know I I can use instead of canvas element a container.. I am just learning to build more responsive apps. If container is not a solution, is there any other alternative after 2 years since you uploaded this video? Thanks

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Thank You.
      Definitely containers is the way forward. I have done videos explaining what they do. Check my playlist on responsive design.

  • @preetkochar
    @preetkochar 3 года назад +1

    Thanks a lot Reza, this is best. Although the Add Section of the Canvas component is causing a slider to appear if i add a full length gallery in the datacard. How can i get rid of that.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Add section I assume is for the scrollable screen. You may want to put the component outside of that canvas. I have not tested this with the scrollable screen.

  • @madihasalman7110
    @madihasalman7110 9 месяцев назад

    Hi Reza
    I would like to ask one question. If we have containers and lots of screens in power apps , is it practical to have left navigation expand to right as you did in this tutorial by using canvas ?

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      Expand collapse is an option. Not necessary to have it. It depends.

  • @rockwscuba
    @rockwscuba 2 года назад

    Hello Reza, Thank you ever so much for these tremendously useful tutorials. I have been able to complete the whole tutorial. However, the colNav does not seem to work on the final setup. I end up getting a blank navigation. I am using an App in Canvas. I am no sure if that applies.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Check to see if your colNavItems has data in it. I will have to look at your App in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @rachitraman797
    @rachitraman797 4 года назад +1

    Thank You for the awesome series. is it possible to make responsive reusable custom component and use it in power app

    • @RezaDorrani
      @RezaDorrani  4 года назад +1

      The video covers building a responsive component.
      Key in building responsive components is to define the Height,Width,X & Y properties of the controls within the component relative to the size of the component on the screen.

  • @Dylan-zm3ht
    @Dylan-zm3ht 2 года назад +1

    Wow this was great, looks and feels great on my app. Curious though , is there a way to instead of having a stock icon is it possible to load my own png icons?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You can use the Image control in the component and then pass image context as a property in the NavItems collection.

  • @priyankpandey4506
    @priyankpandey4506 4 месяца назад +1

    Hi Reza !! Thank you very much for your great video. I have one question how do change the color of a rectangle to show the user to the active screen. as of now, it's showing the same color of the rectangle for both active/deactivated screens. Please assist with the same.

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      Most welcome!
      Check ruclips.net/video/3S0h2nODcxM/видео.htmlsi=22NWT_EPITBraqAw

  • @frederikrier767
    @frederikrier767 2 года назад +1

    Hello Reza,
    Thank you very much for your great video. It was very well explained and really fun to implement.
    I still have one question for you.
    I would like to use the Left Navigation Menu to switch between apps within my PowerApps environment.
    Is that also possible via colNav? How do I have to write the command so that I can refer to apps?
    I would be happy to hear from you.
    Many greetings

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Switching between apps would probably be possible.
      Launch function would be the answer.
      To provide the steps, I would have to try it out.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

    • @frederikrier767
      @frederikrier767 2 года назад +1

      Hello@@RezaDorrani,
      Thank you very much for your answer.
      I will ask the question again in the forum.
      Best Regards,
      Frederik

  • @sebastianjuarez5575
    @sebastianjuarez5575 6 месяцев назад +1

    I implemented this and it works great. The only issue I have experienced so far is that when I switch pages/views the menu stays open. Is there any way I can directly fix this issue so that every time I navigate to another page/view the menu closes? Thank you!

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад

      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @daniellesutton6059
    @daniellesutton6059 4 года назад

    Thanks heaps for this! It has been super helpful. I am trying to add more nav items but when i play the app they disappear. any reason why?

    • @RezaDorrani
      @RezaDorrani  4 года назад

      There should not be any issue as I did use it recently in one of my projects.
      Check out the COVID-19 tracker solution.
      The Power App here has the same component.
      powerusers.microsoft.com/t5/Emergency-Response-Gallery/Coronavirus-Tracking-application-Power-Apps-template/td-p/491988

    • @asimfakhi
      @asimfakhi 3 года назад

      You need to add the screen details in the collection. Also you can try to clearcollect on app on start so you don't need a button for this. let me if it helped.
      Thanks.

  • @gabrielako3164
    @gabrielako3164 Год назад +1

    Hi Reza, thanks for all your tutorials on Power Apps, they're my one stop shop when I'm in a bind. Please I tried to import this component into an App, but I'm getting an error message saying the "Left Nav Component does not contain any components". Can you check out the file in the repo? Thanks

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Thanks for watching and liking the tutorials.
      File is repo is fine. I have not updated it in years. I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com. May be its a general component issue.

  • @basictalent1
    @basictalent1 Год назад

    Hi Reza, Excellent video. Thanks for helping the community. Can we use the canvas'es instead of adding too many screens and set the ClearCollect (colNav) to include with Canvas? Will this improve the performance in any way?

    • @RezaDorrani
      @RezaDorrani  Год назад

      I did not understand the question.

    • @basictalent1
      @basictalent1 Год назад

      @@RezaDorrani sorry for the misunderstanding. All i was hoping to make use of the canvases from the scroll gallery instead of adding too many screens just to improve the app performance. As an example in this video about the use of canvases.
      ruclips.net/video/Cuq3x_O41nA/видео.html
      Is there any chance you have made of this design? Or you intend to make anytime in the future? Would be interesting to see. Appreciated thanks.

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have not and no plans to do this in future

  • @ArabianBytes
    @ArabianBytes 3 года назад

    Is there a way to sync the width of the navigation component across screens? For example, if I expand the navigation in the first screen, and navigate to screen2, when I do that, the navigation element width on screen 2 is not synced with screen 1.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      You have to set a variable in the App and pass that as input param to the component. Then use that value to check the width of the menu.

  • @23tredgold
    @23tredgold 4 года назад

    Great tutorial and you make it very simple to follow. I am trying to think how can you make the menu dynamic, in that only certain menu items are shown depending on which user is logged into the App?.

    • @RezaDorrani
      @RezaDorrani  4 года назад

      You can.
      The left navigation menu NavItems property requires a collection.
      In your App you can check the users rights and accordingly load the collection.
      One example of checking user permission with SP security Groups is showcased here:
      ruclips.net/video/dIzOAbMjN7g/видео.html

    • @23tredgold
      @23tredgold 4 года назад

      @@RezaDorrani Thanks for the reply - so maybe in my instance, as i have only 3 types of users - i create the 3 different collections and have it load the right collection based on the 'group' they are in.

    • @johnpalmer3848
      @johnpalmer3848 4 года назад

      @@23tredgold I'd prefer to define and load one big collection with all possible menu items, then filter the collection to use only the set that's appropriate for your current user.

  • @andradahertioga637
    @andradahertioga637 4 года назад

    Is it possible to open the navigation to the left ? I mean if my component is positioned on the right side of the screen , when the menu size is incrased to not get out of the screen

    • @RezaDorrani
      @RezaDorrani  4 года назад +1

      Yes definitely possible. The component logic would need to be updated to change the positioning of the elements.
      You could also potentially open the menu as a pop up which overlays on the screen

  • @MrDionmar
    @MrDionmar Год назад +1

    Mr Reza, How are you ?
    Instead of create a table in Powerapps components (in hardcode), What do you think, If you create a Sharepoint list of MENU values (Home, Task, Details, etc) only to be dynamic ?, in this list, you only need to specify the name of Label Menu, name of icon and screen to navigate.
    Is it easier if we think about component reutilization?
    What do you think about this idea my friend ?
    Tks a lot! ;) 👍

    • @RezaDorrani
      @RezaDorrani  Год назад

      Components currently do not allow data sources within them. The component shown in video can gets its Table data (input property) from any data source of your choice.