Expandable Navigation Menu in Power Apps

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025
  • НаукаНаука

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

  • @ONESTTEFTEO
    @ONESTTEFTEO 4 месяца назад +24

    finally a good power app tutorial channel, please keep doing power apps videos

  • @TheAnalystNik
    @TheAnalystNik  2 месяца назад +29

    Here is the code to imgToggleIcon at 8:57 for those that want to copy/paste!
    "data:image/svg+xml," & EncodeUrl("

    .arrow" & varMenuTimestamp & " {
    animation-name: arrow;
    animation-duration: " & If(IsBlank(varMenuOpen), "0ms", "500ms") & ";
    animation-fill-mode: both;
    }
    @keyframes arrow {
    " & If(varMenuOpen, "0%", "100%") & " {
    transform: rotate(0deg);
    }
    " & If(varMenuOpen, "100%", "0%") & " {
    transform: rotate(180deg);
    }
    }




    ")

    • @wer0o0o0o0o
      @wer0o0o0o0o 2 месяца назад +2

      Omg. Are you an angel? Thank you.

    • @damonehartnick8085
      @damonehartnick8085 2 месяца назад +1

      💀 saw this after I struggled with the code, thank you sir

    • @qaazz
      @qaazz 2 месяца назад +2

      I took a print screen of the video and asked chatgpt to give me the code in text, worked like a charm :)

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      Great idea!

    • @huytrinhx
      @huytrinhx 8 дней назад

      probably a dumb question: why do we need to insert varMenuTimestamp into the className?

  • @jazzthesoul1
    @jazzthesoul1 9 дней назад +2

    This is fire, by far one of the best tutorial. We need more of these videos , keep them coming.

  • @SampathJWKCT
    @SampathJWKCT 4 месяца назад +8

    Brother, Thank you so much for the video. Looks like you have done lots of effort to make viewers understand with many things. Thanks again.

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

      Thank you for the kind words and glad you found it helpful!

  • @HakDyr61
    @HakDyr61 3 месяца назад +3

    What an insane Video. Coding for a couple Month now in PowerApps and never had a tutorial where everything worked perfect. Thank you very much. I will watch more Videos of you fore sure!

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      That’s awesome thanks for the nice feedback!

    • @DanZech
      @DanZech 29 дней назад

      True!!! I had the same feeling!

  • @echavezcyril
    @echavezcyril 3 месяца назад +2

    You deserve a subscribe bro! This is one of the most step-by-step process and not a fast forward teaching.

  • @devarajr1196
    @devarajr1196 17 дней назад +1

    Hi Nik, great content
    For image not visible, I followed below steps.
    1. See if you have filled the container with blue color 6:45.
    2. See if the X and Y property of image are 0

    • @TheAnalystNik
      @TheAnalystNik  15 дней назад

      Hi thank you! glad you figured that out, hopefully this helps others, cheers!

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

    This tutorial was absolutely amazing! I'm new to Power Apps and have learned so much in a short period of time through your channel.

  • @prembahadurchand96
    @prembahadurchand96 11 дней назад +1

    Wonderful !!! Everything Works Perfectly! Thank you very much

    • @TheAnalystNik
      @TheAnalystNik  11 дней назад

      You're welcome! Glad it worked perfectly!

  • @aducaale328
    @aducaale328 4 месяца назад +2

    Man, you are legend. You made the complex task very simple.Thank you very much.Greatest content in Left Navigation.
    Appreciated your 💯 effort and learnt from you brothe.r 🙏🏽

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

      What an honour, thank you for the kind words! I’ll keep em coming!

  • @corporateamerica
    @corporateamerica Месяц назад +2

    This was super insightful, Nik! Could you do a similar tutorial on creating a grid menu layout component-something with 3 or 4 columns and flexible rows? It’d be awesome to see your take on that!

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

      Glad you liked it! That sounds like an interesting idea, can you give more detail on what you mean by grid menu layout?

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

      @@TheAnalystNik a tile-based menu designed for a clean and organized display of multiple options. uses a grid structure to present items, with each item contained within a uniformly sized tile. typically used in dashboard-like interfaces or navigation panels within apps, providing users with an intuitive way to access different sections or features.

  • @rflores_
    @rflores_ 2 месяца назад +1

    Amazing Nik! Please keep uploading tutorials, they help a lot

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

    This is the best navigation pane video I have ever come across! Absolutely superb! You need to do more videos!

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

      Amazing to hear, thank you. More to come!

  • @mateusknabachevald1202
    @mateusknabachevald1202 3 месяца назад +2

    BEST tutorials ever!!!

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

    Mind Blowing! Great Video. Please keep posting, love your method.

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

      So happy to hear that, thank you!

  • @LovePostHardcore
    @LovePostHardcore 2 месяца назад +1

    Hey Nik! I'm based in Vancouver too! , your explanation is great! thanks a lot!

  • @DanZech
    @DanZech 29 дней назад +1

    Really, really, really nice tutorial!! Thanks a lot!

  • @anithamartin1372
    @anithamartin1372 2 месяца назад +1

    Absolutely superb! It works very smooth.👍

  • @anisa6401
    @anisa6401 3 месяца назад +1

    Amazing, thank you The Analyst Nik !

  • @pearlc9849
    @pearlc9849 10 дней назад +1

    Great video! Could you please mention the source for the icons and where you got the script?

    • @TheAnalystNik
      @TheAnalystNik  10 дней назад

      Thank you! I have a comment posted with the code so you can copy paste. Cheers!

  • @shaileshtp
    @shaileshtp 3 месяца назад +1

    Feelings lucky to find your video.😊

  • @RyanKuy-t4c
    @RyanKuy-t4c 4 месяца назад +1

    Wow! The sidebar you've created is awesome. Could you please create a part 2 of this video with a header and content section on the other side? Thanks so much!

    • @TheAnalystNik
      @TheAnalystNik  4 месяца назад +2

      Thank you! And yes that’s a great idea, I’ll try to showcase that in an upcoming video

    • @RyanKuy-t4c
      @RyanKuy-t4c 4 месяца назад +1

      @@TheAnalystNik Whoa! I can't wait to see your upcoming video!

  • @tuxmc
    @tuxmc 3 месяца назад +1

    well explained, and so easy to follow. Good work

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Really happy to hear that, thank you!

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

    Well explained. I’m subscribing your channel, expecting more great videos. Thank you!

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

      Thank you! That’s definitely my goal. Let me know if there’s anything you’re particularly interested in!

  • @theAprilll
    @theAprilll 3 месяца назад +1

    Direct sub. I have a new role creating Power Apps in my company and I really would like to create them just with modern design. Not something simple, boring and ugly like a lot of Power Apps is created.

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      I love that thank you. Hope you enjoy your new role and I’ll make sure to keep the content coming and giving inspiration for modern app designs. Let me know if you have any suggestions for future videos!

    • @theAprilll
      @theAprilll 3 месяца назад +1

      @@TheAnalystNik For sure more content about responsive designe. You know, a lot of us has companeis computer and mobile phone and it doesn't have sense to split app for a desktop and the mobile version. Better keep everything in one app which scale according to device.

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад +1

      @@theAprilll great suggestion and that's one I definitely want to cover. I'm working on a project management app to showcase many things, one of them being responsive. Might do a "Let's Build" series

  • @joaoneves4869
    @joaoneves4869 14 дней назад +1

    Awesome tutorial! Obrigado!

  • @Squadra85
    @Squadra85 4 месяца назад +2

    We can make our side menu when opening and closing put the other container to have the same behavior so the page would be all dynamic!

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

      That’s right, I plan to make a video and showcase a responsive app in the future

  • @JParanEasyExcelHub
    @JParanEasyExcelHub 3 месяца назад +1

    Thanks bro. Easy to understand and follow. It helps a lot!

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Making it easy is always the goal, glad you found it helpful!

  • @gopichand5717
    @gopichand5717 3 месяца назад +1

    Awesome ❤ thanks for sharing

  • @91_mrchen80
    @91_mrchen80 2 месяца назад +1

    Great video, very helpful!❤

  • @TallapakaAbhishek
    @TallapakaAbhishek 20 дней назад +1

    very impressive.
    Create an interactive login screen with different level of access so that access based screens will be visible.

    • @TheAnalystNik
      @TheAnalystNik  15 дней назад

      Thank you! that's a great idea, I'll consider this for a future video. Cheers

    • @TallapakaAbhishek
      @TallapakaAbhishek 15 дней назад +1

      @@TheAnalystNik Thanks for considering the input.
      Waiting for your more videos ☺️☺️

    • @TheAnalystNik
      @TheAnalystNik  15 дней назад

      @@TallapakaAbhishek absolutely thanks for your support!

  • @romnickchua3906
    @romnickchua3906 7 дней назад +1

    Hi Sir Nik,
    I appreciate the work you do. it helps a lot. I would just like to ask if I create it as a component library, I cannot access the app scope, what can I do as a workaround? or can I only use this component inside the app scope?
    Thanks again!

    • @TheAnalystNik
      @TheAnalystNik  5 дней назад

      Hi! In order to create this in a component library you will have to use a different approach, I made a video on this and although the design is different, you can try to re-create this menu using that method. Hope it works out!
      ruclips.net/video/leFWNCWU8Mw/видео.htmlsi=0I0sp9g4AtWeu4q7

    • @romnickchua3906
      @romnickchua3906 5 дней назад +1

      Thanks. I have also seen that video. I have added more properties for it to work just like in your video. Thanks again! Will wait for more videos of yours.

    • @TheAnalystNik
      @TheAnalystNik  5 дней назад

      That’s awesome thanks I got more coming! Cheers

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

    Thank you Nik! Such a great video. May I know how do I filter the navigation based on user role? Thanks!

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

      thank you!
      I haven't tested this, but you could add an additional property to each of your MenuItems like Admin: true or Admin: false, then you can filter the gallery that checks if the current user is an admin (not sure the method you are using here, but assuming you have it stored in a variable varAdmin, it would be:
      If(varAdmin = true, Filter(MenuItems, Admin = true), Filter(MenuItems, Admin = false))
      Hope that helps!

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

      @ works like a charm! Thank you Nik!

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

      That’s awesome! Glad it worked out

  • @HESHAMAREBILUTFI72
    @HESHAMAREBILUTFI72 3 месяца назад +1

    Thank you
    A beautiful and wonderful explanation 🥰

  • @Khaled_Hamad
    @Khaled_Hamad 2 месяца назад +1

    Thank you so much for your effort and great Tutorials.
    Is there a way to have the long codes (like what you had in the image) somewhere to be easy to copy from (rather than the huge typo mistakes)?
    Thanks in advance.

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад +1

      thanks for the feedback and yes the code is quite long! Video description doesn't allow for angled brackets, but I'll post it in the comments and hopefully that helps a few people. Cheers

  • @RyanKuy-t4c
    @RyanKuy-t4c 4 месяца назад +2

    Hello again! Could you create another version of this, but with a multilevel submenu for the sidebar? I just watched your latest video, and your work is excellent. I'm wondering if you could make a similar version with a sidebar, as many apps come in different sizes and often need an additional submenu. I hope you’ll consider this request. Thank you once again!

    • @TheAnalystNik
      @TheAnalystNik  4 месяца назад +3

      Another great recommendation and glad you’re enjoying the content! I will for sure do a video on this in the future.

    • @RyanKuy-t4c
      @RyanKuy-t4c 4 месяца назад

      @@TheAnalystNik I’m glad to hear that! I really appreciate the quality content you put out. your channel is one of my go-to resources rn for learning. Looking forward to the video when it comes out!
      Cheers!

  • @djs2220
    @djs2220 19 дней назад +1

    great video! Thanks so much! I am getting a grey bar on the right side of my component for some reason. It won't go away. Any thoughts?

    • @TheAnalystNik
      @TheAnalystNik  19 дней назад

      Hey thanks! This might be because of a container drop shadow. Check to make sure the drop shadow is turned to none. Hope that solves it!

  • @chmarch
    @chmarch 3 месяца назад +1

    Thank you so much Nik! Please include large chunks of code like the image animation in the video description, or at least a link to copy that code.

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад +1

      good point! for now, I'll share it here for you:
      "data:image/svg+xml," & EncodeUrl("

      .arrow" & varMenuTimestamp & " {
      animation-name: arrow;
      animation-duration: " & If(IsBlank(varMenuOpen), "0ms", "500ms") & ";
      animation-fill-mode: both;
      }
      @keyframes arrow {
      " & If(varMenuOpen, "0%", "100%") & " {
      transform: rotate(0deg);
      }
      " & If(varMenuOpen, "100%", "0%") & " {
      transform: rotate(180deg);
      }
      }




      ")

    • @chmarch
      @chmarch 3 месяца назад +1

      @@TheAnalystNik thank you so much! I was able to find a text parser from image tool to help me complete your tutorial. You are a master, and I hope to learn much more from you in subsequent videos!

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      @@chmarch you’re too kind! I’ll keep sharing the knowledge I have and I’m still always learning!

  • @erenatis
    @erenatis 3 месяца назад +1

    Spectacular video! How would I incorporate additional actions when one of the buttons is pressed? For example: one button goes to a screen and resets the form and variable

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад +1

      Good question. I would recommend you put these additional actions on your screens OnVisible and/or OnHidden properties. They’ll run each time you navigate across screens

    • @erenatis
      @erenatis 3 месяца назад +1

      @@TheAnalystNik Thank you for the recommendation. I had thought about onVisible, but it wasn't going to work with some of the other ways to get to the same screen (e.g. set new form or edit the form). Solved it by adding a switch statement into the OnSelect of the btnSelectItem before the Navigation.
      Switch(
      ThisItem.Name,
      "Home", [Actions needed],
      "Search", [Actions needed]
      )
      Navigate(ThisItem.Screen);
      Set(varMenuSelected, ThisItem.Id)

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Ah I see, great job with that solution!

  • @BISimplify-yr3ue
    @BISimplify-yr3ue 3 месяца назад +1

    Great video Nik! I love the polished component! Ps, are you from MTL?

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад +1

      Thanks glad you liked it! And I’m living in Vancouver, born in Bulgaria

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

    Great work

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

    Are there any additional steps we need to take on each page to make sure that the size of the screen adjusts when the nav bar is at 200 vs 80?

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

      Yeah if you're trying to create a responsive app, I recommend using containers on your screen and plugging in the navbar within it. I'll have a video coming up that will show you how to build a fully responsive app with a navigation menu. Cheers!

  • @SabourNoori-ml2sz
    @SabourNoori-ml2sz 2 месяца назад +1

    Great video. Where did you get the Set(VarMenuSelected, 1); ? I am keep getting error message that name isn't valid.

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      thank you! I set the variable in the App OnStart property at 5:27

  • @mariapaulaself
    @mariapaulaself 3 месяца назад +3

    do you know why in min 9:24 the arrow animation is not working for me, is not showing for some reason. Ive reviewed several times and while it doesnt show any errors, im not seeing the white arrow at all. do you know why that could be?

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      It’s hard to say without seeing the steps you took but let me take a guess: check the X and Y properties of imgToggleIcon but check their values are both 0 in the top formula bar. Sometimes powerapps changes them without your knowledge, even if it says they’re at 0 in the right navigation.

    • @rothsimon6570
      @rothsimon6570 3 месяца назад

      I have the same issue

    • @JohnChappell-u1b
      @JohnChappell-u1b 3 месяца назад

      @@TheAnalystNik I am having the same issue. I have checked the X, Y and they are both 0. I've also gone through the video 2 times making sure nothing was missed. Any other ideas as to what this could be? Wonderful video by the way.

    • @PS-du1vc
      @PS-du1vc 2 месяца назад

      Turn On Access app store

    • @xisterboy
      @xisterboy 2 месяца назад

      Try activeted
      On component try mark access application scope, may it work!

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

    Love the tutorial, can i just ask if the same can be some with Custom Page

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

      Thank you! Can you clarify what you mean?

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

      @@TheAnalystNik as in can i recreate the same navigation menu using custom pages instead of canvas app

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

      @shomari169 Oh I see. Since custom pages are limited to only one page, canvas components can only be brought in through a component library, which is different from the standalone canvas apps, which have the ability to create components at the app level. If building a navigation menu through a component library, it would have to be built differently from what I’ve shown in this video as it’s built at the app level. Hope that helps and I might do a video on this in the future. Cheers

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

      @@TheAnalystNik thanks for the swift reply and i will be really looking forward to a tutorial on that please to see how it will work

  • @sudosaurus
    @sudosaurus 3 месяца назад +2

    If the component was inserted into a sidebar container, is there any way that the sidebar container can be dynamically resized based on the component width being toggled?

    • @sudosaurus
      @sudosaurus 3 месяца назад +2

      Solved by setting the Width property of my sidebar container to: If(varMenuOpen, 200, 80)

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      you got it!

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

      @@sudosaurus hi, can you explain this a little more. I wish to have this done in a way, when menu toggled then right-side container shall be resized/responsive. Thanks

  • @alinajaved7400
    @alinajaved7400 11 дней назад +1

    Hi
    Very good video. I am following your video to create side navbar. I am having some issues in it. can you please please help me in it. How to approach you?

    • @TheAnalystNik
      @TheAnalystNik  11 дней назад

      Hi thank you! Are you looking for a more in-depth consultation or just a quick question? If it's more in-depth, send me an email (on my channel page)

    • @alinajaved7400
      @alinajaved7400 10 дней назад

      @@TheAnalystNik Thank you responding. It is a quick question but i would like you to see my screen or I can send you screenshot somewhere please

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

    I absolutely love this component, thank you! I have a slight problem with my icon color - it stays dark instead of changing to light when the icon isn't selected. I quadruple-checked the image formula and mine is exactly the same as the video's. Do you have any suggestions how I can troubleshoot this?

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

      Thank you! Are your icons all black or are they taking the dark color we defined in the Formulas property?

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

      @@TheAnalystNik I figured it out - instead of "currentColor", my svg code contained a hex#. I replaced all the hexes with "currentColor" and it works beautifully now :)

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

      Ah excellent, I had a feeling it would be something with the currentColor value. Glad you worked it out!

    • @HakDyr61
      @HakDyr61 3 месяца назад

      @@TheAnalystNik It doesnt work for me atm. All the icons got the color as they are clicked. So it doesnt change the color when i click the icon because its already like that on every icon.

  • @titoleto
    @titoleto 2 месяца назад +1

    @TheAnalystNik I really liked your menu and I am trying to make the component inside a component library and there is something I am not able to do with the Width property of the main component LeftNav:
    If(varMenuOpen, 200, 80)
    The global variable varMenuOpen where should I declare it? In the OnVisible of Screen1? I am not able to change the size when they click on the Toggle.
    It has worked perfectly if the component is created inside of a canvas application, but if I do it inside a component library I am not able to do it :(

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      Hi! When creating it within a Component Library, there are some different steps needed. I created a video on it with a different style navigation but you can try to combine the methods to re-create this inside a component library. Let me know if that works for you!

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      ruclips.net/video/leFWNCWU8Mw/видео.html

    • @titoleto
      @titoleto 2 месяца назад

      @@TheAnalystNik I've been watching your other video where you create the menu inside a component library, but the difference is that the menu has a fixed size and this one the width is dynamic depending on whether you press the toggle or not and that's what I'm having problems with.

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      I see, ok give this a try:
      1. Enable "Enhanced component properties" under Settings > Updates > Experimental tab
      2. Within your Component Library, select your component and create a new custom property "Icon OnSelect", Property Type "Event".
      3. Select your icon, and update its OnSelect property to: YourNavName.IconOnSelect()
      4. Go to the app and insert your component and update its "Icon OnSelect" property to Set(varMenuOpen, !varMenuOpen);
      5. Update the component Width property to If(varMenuOpen, 200, 80)
      Hope that works out!

    • @titoleto
      @titoleto 2 месяца назад +1

      @@TheAnalystNik In the end I got it easier:
      - I created an output MenuWidth property of type number.
      - I have assigned it the value: If(varMenuOpen,200,80)
      - Finally, in the Width property of the LeftNav component, I have assigned it the value LeftNav.MenuWidth
      Thank you very much!

  • @vrajpanchal7635
    @vrajpanchal7635 3 месяца назад +2

    for some reason in the navigation the menu icons isn't showing, i pasted like you said by replacing the " with ' , but still the images aren't visible .Can you guide me what can i do?

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Hi, can you check their X and Y properties in the top formula bar? Sometimes it shows 0 on the properties bar on the right but in reality Power Apps sometimes changes it to 40. If it says 40, change it to 0. Hope that solves it for you!

    • @saurabhverma2477
      @saurabhverma2477 2 месяца назад

      Were you able to solve it? I am facing the same issue !

  • @Clacer666
    @Clacer666 2 месяца назад +1

    Amazing video, thanks a lot, im having a little problem, for some reason i cannot see Fill, Hovefill, PressedFill... in the Button config (advanced)

    • @Clacer666
      @Clacer666 2 месяца назад +1

      i got it, maybe is the new update but you have to change in Appearance 'ButtonCanvas.Appearance'.Transparent

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад +1

      Hi yes you’re using the modern button control it looks like which also works. You can still use the classic button which will have all those fill properties shown in the video

    • @Clacer666
      @Clacer666 2 месяца назад

      @@TheAnalystNik thanks for you answer, how can I get back the classics buttons?

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      @@Clacer666 they should still be an option for you to select since a lot of the modern controls are still in preview mode. If you expand the options in the "+ Insert" section, there should be a "Classic" section with the old button.

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

    Thank you for this wonderful video, i follow your steps but having this varMenuOpen variable is not affecting the entire menu component in the app?, what i mean is i added the menu to 4 pages in my app when i clck first the toggle button and click the second menu button still in menu close, seems like the global variable varMenuOpen is not affecting the whole menu state when change.

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

      You have to turn on “Access app scope” for you component. You’ll see the setting at 6:08 of the video.

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

      @@TheAnalystNik i already do that but still cant run that,
      - LeftNav:
      Control: Component
      Properties:
      Height: =App.DesignHeight
      Width: =If(varMenuOpen, 200, 80)
      Children:
      - conToggle:
      Control: GroupContainer
      Variant: manualLayoutContainer
      Properties:
      BorderColor: =RGBA(255, 255, 255, 1)
      BorderStyle: |+
      =BorderStyle.Solid
      BorderThickness: =2
      DropShadow: =DropShadow.None
      Fill: =RGBA(56, 96, 178, 1)
      Height: =20
      RadiusBottomLeft: =10
      RadiusBottomRight: =10
      RadiusTopLeft: =10
      RadiusTopRight: =10
      Width: =20
      X: =Parent.Width - Self.Width - 2
      Y: |+
      =15
      Children:
      - btnToggleSelect:
      Control: Classic/Button
      Properties:
      OnSelect: |-
      =Set(varMenuTimestamp, Text(Now(), ""));
      Set(varMenuOpen, !varMenuOpen);
      Text: =""
      BorderThickness: =0
      DisabledFill: =Self.Fill
      Fill: =Color.Transparent
      Height: =Parent.Height
      HoverFill: =RGBA(100,100,100,0.1)
      PressedFill: =ColorFade(Self.HoverFill, -50%)
      RadiusBottomLeft: =0
      RadiusBottomRight: =0
      RadiusTopLeft: =0
      RadiusTopRight: =0
      Width: =Parent.Width
      - imgToggleIcon:
      Control: Image
      Properties:
      Image: |-
      ="data:image/svg+xml," & EncodeUrl("


      .arrow" & varMenuTimestamp & " {
      animation-name: arrow;
      animation-duration: " & If(IsBlank(varMenuOpen), "0ms", "500ms") & ";
      animation-fill-mode: both;
      }
      @keyframes arrow {
      " & If(varMenuOpen, "0%", "100%") & " {
      transform: rotate(0deg);
      }
      " & If(varMenuOpen, "100%", "0%") & " {
      transform: rotate(180deg);
      }
      }





      ")
      BorderColor: =RGBA(141, 198, 63, 1)
      Height: =Parent.Height
      Width: =Parent.Width
      AccessAppScope: true
      this my full code.
      please help me

  • @ganyrehs
    @ganyrehs 3 месяца назад +1

    I recreated the side nav menu bar on a power app and tested on an iPad. The gallery menus control is returning an error: "This control is not supported for native rendering". What could be the problem? Is there a setting that I need to turn on?

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      That's an interesting error that I haven't come across. Does it give the same error on the phone as well?

    • @ganyrehs
      @ganyrehs 3 месяца назад +1

      Found what was happening. I embedded the component inside of another container which caused some wonky rendering. Took it out and working fine now.

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Awesome glad you got it!

  • @CMNurdani
    @CMNurdani 3 месяца назад +1

    Thanks for the video tutorial. But I have a problem, when I pull data from the formula, it does not recognize, for example like "myTheme".
    Also the menu cannot open wide when the toggle is pressed. Please give me a solution

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Hi, make sure you’ve turned on ‘Access app scope’ as shown at 4:13. That will allow the component to access variables in your app

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

    Great Video !

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

      Thanks, glad you enjoyed!

    • @lovesharma336
      @lovesharma336 3 месяца назад

      @@TheAnalystNik Hi Nik your Html text code is not working because i am try this

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

    When I try to test the component in the design like you did, it only shows me the button, but the menu doesn't shrink or expand. What am I doing wrong? It works after when I put the menu to the screen. Only background color does not work to me.

    • @gab.riz.25
      @gab.riz.25 Месяц назад

      read in the comments somewhere that it's a bug with the modern controls/themes turned on in your app (you can turn it off in settings > updates > modern controls and themes.) on the button toggle, change Appearance to: ButtonCanvas.Appearance'.Transparent.

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

      thanks Gab, hope that helped! I left a comment on the video with the code for the background so try copying that in case you made a typo somewhere. Cheers!

  • @sovannborithyun5205
    @sovannborithyun5205 2 месяца назад +1

    Can we animate when collapsed or expanded?

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      good question and I did look into doing this but I haven't been able to find a way. If I do, I'll definitely make a video about it!

  • @wer0o0o0o0o
    @wer0o0o0o0o 2 месяца назад +1

    The name of my icons don't show. Everything works perfect, but that. :(

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      Oh that’s strange, I wonder if there’s something up with your color or visibility properties?

  • @gonzalocortesbarrera4033
    @gonzalocortesbarrera4033 2 месяца назад +1

    These types of pages adapt to mobile??? 😮

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад +1

      This component technically would work for mobile but I would recommend a different version for mobile and desktop. I will likely do a video on this in the future

    • @damonehartnick8085
      @damonehartnick8085 2 месяца назад

      @@TheAnalystNik how long before you make one that will be responsive for mobile or can u set resources to make the nav bar responsive on all devices

  • @sovannborithyun5205
    @sovannborithyun5205 2 месяца назад

    Is it possible to animate when collapsed or expand

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

    Make the component in github please

    • @TheAnalystNik
      @TheAnalystNik  26 дней назад

      I recently set up a shop where you can download the .msapp file. If you choose to download, thank you very much for supporting the channel!
      buymeacoffee.com/theanalystnik/extras

  • @kevinpham1645
    @kevinpham1645 3 месяца назад +1

    can you share the svg for the toggle image?

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад +5

      "data:image/svg+xml," & EncodeUrl("
      .arrow" & varMenuTimestamp & " {
      animation-name: arrow;
      animation-duration: " & If(IsBlank(varMenuOpen), "0ms", "500ms") & ";
      animation-fill-mode: both;
      }
      @keyframes arrow {
      " & If(varMenuOpen, "0%", "100%") & " {
      transform: rotate(0deg);
      }
      " & If(varMenuOpen, "100%", "0%") & " {
      transform: rotate(180deg);
      }
      }


      ")

  • @no.more.official
    @no.more.official 4 месяца назад +1

    Thanks

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

    The animation is not working for me, anyone ever faced this ?

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

      Does anyone know how to fix it

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

      I posted a comment with the code if you want to try copy paste?

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

    is the SVG website safe?

  • @jesusj.juarez
    @jesusj.juarez 4 месяца назад

    Gracias

  • @MerveAltay-l8z
    @MerveAltay-l8z 3 месяца назад

    Ok excellent .. but can u do the “run gif on hover”

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      I’m not sure what you mean, can you expand on that?

  • @viveknavik2909
    @viveknavik2909 3 месяца назад +1

    This is great, can you please provide me the imgtoogleicon image text code

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      for sure here you are:
      "data:image/svg+xml," & EncodeUrl("
      .arrow" & varMenuTimestamp & " {
      animation-name: arrow;
      animation-duration: " & If(IsBlank(varMenuOpen), "0ms", "500ms") & ";
      animation-fill-mode: both;
      }
      @keyframes arrow {
      " & If(varMenuOpen, "0%", "100%") & " {
      transform: rotate(0deg);
      }
      " & If(varMenuOpen, "100%", "0%") & " {
      transform: rotate(180deg);
      }
      }


      ")

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

    Write code please

  • @AshifArman-o1u
    @AshifArman-o1u 3 месяца назад

    I don't know if the image is available or not but I arrow doesn't show up for some reason. would you be able to share the code with me for the image. Thank you. Love your videos.

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад +1

      I'm glad you like the videos, I'll keep them coming! I'm curious if the image is giving you an error or if it's just showing blank?
      "data:image/svg+xml," & EncodeUrl("
      .arrow" & varMenuTimestamp & " {
      animation-name: arrow;
      animation-duration: " & If(IsBlank(varMenuOpen), "0ms", "500ms") & ";
      animation-fill-mode: both;
      }
      @keyframes arrow {
      " & If(varMenuOpen, "0%", "100%") & " {
      transform: rotate(0deg);
      }
      " & If(varMenuOpen, "100%", "0%") & " {
      transform: rotate(180deg);
      }
      }


      ")

    • @AshifArman-o1u
      @AshifArman-o1u 3 месяца назад

      @@TheAnalystNik So when I ddi it, it showed no error. I checked the code like 4-5 times matching yours but it still wasn't showing up. Now that I've tried your version and copied and pasted, it worked. Thank you for the help, Nik. I really appreciate that!

  • @matheusdias3539
    @matheusdias3539 2 месяца назад

    I did the same code at toogle botton and Image, and It's not working

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

    My html dont work dont have color can you help me?

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

      Yeah for sure, let me know a bit more so I can try to help. Maybe share the code you have?

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

      @@TheAnalystNik I'm practically doing a copy paste of yours, I'm just adding submenus with a flexible height container but the htmltxt code isn't working even if I put your colors it doesn't work

    • @TheAnalystNik
      @TheAnalystNik  4 месяца назад +2

      @@Squadra85 hmm it should work if the code is exactly the same.
      Try copy paste this into the HtmlText property:
      $""
      You also want to make sure in the Formulas property, you defined the colors like this:
      myTheme =
      {
      DarkColor: "#3f768c",
      LightColor: "#d5ecf5"
      };
      Hope that solves it for you!

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

      You can also define colors using RGBA() but you'll want to ensure it's in double quotes eg. DarkColor: "RGBA(100, 100, 100, 1)"

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

      @@TheAnalystNik I should be having an error maybe one more space to that way but it's already working thanks for the help , by the way excellent tutorial keep up the good work

  • @naktonlucas8919
    @naktonlucas8919 3 месяца назад

    Olá, o meu MENU não se expande quando seleciono, é como se o varMenuOpen Não funcionasse

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      Hi, have you updated the width property of the component?

  • @JavierTrujillo-i3p
    @JavierTrujillo-i3p 2 месяца назад

    grande

  • @matheusdias3539
    @matheusdias3539 2 месяца назад

    ALL OF THAT DOES NOT WORK TO ME

    • @TheAnalystNik
      @TheAnalystNik  2 месяца назад

      sorry about that, it must be frustrating. let me know what errors you're getting and I can try to help

    • @matheusdias3539
      @matheusdias3539 2 месяца назад

      @@TheAnalystNik could you give this component to download ?

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

    Can I get the yaml code of the same please

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

      Which part are you looking for, imgMenuIcon?

    • @chugia6118
      @chugia6118 3 месяца назад +1

      @@TheAnalystNik how can I have your icons svg codes, thanks

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      @@chugia6118 sure thing
      MenuIcons =
      {
      Home: "",
      Tasks: "",
      History: "",
      Search: "",
      ContactUs: "",
      AboutUs: ""
      };

    • @chugia6118
      @chugia6118 3 месяца назад

      @@TheAnalystNik thanks, and the left image button please, the html background code not work for me

    • @TheAnalystNik
      @TheAnalystNik  3 месяца назад

      @@chugia6118 the html background code? here you go
      $""

  • @Flash_Cliped
    @Flash_Cliped 3 месяца назад +1

    Export the app and tag it; some of as over here don't have patience.