This App Builds Power Apps (100% REAL)

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • I built an app that builds Power Apps and the best part is its freaking real. No, seriously! It generates code that you can copy and paste into Power Apps Studio. And it's amazing. Absolutely no AI is involved at all. Just the magic of creativity + code.
  • Věda a technologie

Komentáře • 112

  • @toluvictor
    @toluvictor Před měsícem +18

    A lot of PowerApps devs underrate the new YAML feature, I believe the possibilities with this are endless.
    Custom Code Generators like in this video, custom app templates and even AI generated YAML with ChatGPT or Copilot.

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +8

      I can only imagine the wonderful UI templates you would create with this Tolu

    • @aman-alytics
      @aman-alytics Před měsícem

      converting html code to YAML 😎

  • @Emanuel-fu4cf
    @Emanuel-fu4cf Před měsícem +4

    This is awesome Matthew!! you are really at the bleeding edge with PowerApps :) I've done done some experimenting with this too specially to make sure a team of low coders to stick to naming standards and properties for the components on every app.
    Keep the great work man!!

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +1

      Tell me more about what you’ve done with this. I want to hear it all.

    • @Emanuel-fu4cf
      @Emanuel-fu4cf Před měsícem

      @@matthewdevaney3912 Basically what we have is a central repository where you can find the code for every type of component with the necessary properties pre-configured referencing a variables for style (CSS like). By using this method we enforce that any component used on the apps maintains the same configurations starting by naming conventions, and applying all the necessary styles used on every app.
      This has reduced a lot of time for creating new apps, since they only need to copy and paste all the components from the repository without having to remember all the setting they need to specify each time.
      I have some experience working with YAML files from my own HomeAssistant experiments, and I love how I can switch to the code editor view to modify the YAML properties for every thing I can see on the screen and easily duplicate previous customizations this way in HomeAssistant, so when I found this feature in Power Apps, I was more than happy to put it to good use for my team .
      here is an example of my CSS variable:

    • @Emanuel-fu4cf
      @Emanuel-fu4cf Před měsícem

      Set(varStyles,
      {
      //Light Mode
      Primary: RGBA(0,0,0,1),
      Secondary: RGBA(0,0,0,1),
      Accent: RGBA(0,0,0,1),
      Alert: RGBA(0,0,0,1),
      Warning: RGBA(0,0,0,1),
      Error: RGBA(0,0,0,1),
      Border: RGBA(0,0,0,1),
      Font: RGBA(0,0,0,1),
      ButtonText: RGBA(0,0,0,1),

      //Dark Mode
      DarkPrimary: RGBA(0,0,0,1),
      DarkSecondary: RGBA(0,0,0,1),
      DarkAccent: RGBA(0,0,0,1),
      DarkAlert: RGBA(0,0,0,1),
      DarkWarning: RGBA(0,0,0,1),
      DarkError: RGBA(0,0,0,1),
      DarkBorder: RGBA(0,0,0,1),
      DarkFont: RGBA(0,0,0,1),
      DarkButtonText: RGBA(0,0,0,1),
      //Typography
      H1: 24,
      H2: 18,
      P: 14,
      Button: 15,
      Small: 12,
      PrimaryFont: Font.'Lato Light',
      PrimaryWeight: FontWeight.Semibold,
      SecondaryFont: Font.'Lato Light',
      SecondaryWeight: FontWeight.Normal
      }
      );

    • @Emanuel-fu4cf
      @Emanuel-fu4cf Před měsícem

      I use this code on a button in the apps header to switch between Dark and Light theme:
      Set(varTheme,!varTheme);
      And then all the components are associated to those variables to be able to change their properties across the entire app.
      This is an input text YAML:
      - Txt_Input_2:
      Control: TextInput
      Properties:
      Appearance: ='TextInputCanvas.Appearance'.Outline
      BasePaletteColor: =RGBA(215, 100, 19, 1)
      BorderColor: |+
      =Switch(varTheme,
      true , varStyles.DarkBorder,
      varStyles.Border
      )
      BorderRadius: =5
      Font: =varStyles.PrimaryFont
      FontColor: |-
      =Switch(varTheme,
      true , varStyles.DarkFont,
      varStyles.Font
      )
      FontSize: =varStyles.P
      FontWeight: =varStyles.SecondaryWeight
      Value: '= '
      Height: '=36 '
      Width: =Parent.Width

    • @Emanuel-fu4cf
      @Emanuel-fu4cf Před měsícem

      ​@@matthewdevaney3912 I have no idea why my first response was removed. Anyway, the way I've used this is by storing all the YAML for every component in a central "repository" (we use a shared OneNote for the team). Each components has the necessary settings so they use our pseudo-CSS code and the option to change between dark and light themes in every app.
      The guys only need to copy and paste the YAML code for the component they are going to use and it will always have the proper name, and all the other settings.
      I had some experience with YAML since I've used it before on my HomeAssistant severs and I always found really useful the option to switch to code view in order to edit the YAML for every element that you want to configure inside HA, and I was a happy camper when I found it was also available on Power Apps, really well implemented, but not really sure why it was not published as a major milestone for the platform, since it opens up the door to a world of possibilities as you just showed on your video.
      Anyway these are my 2 cents, keep the great work and keep inspiring us to push further.

  • @Cody-b7b
    @Cody-b7b Před měsícem +1

    This was fantastic! This will make app development on Power Apps so much more streamlined! Thank you for this video, Matthew!

  • @saeedsm57
    @saeedsm57 Před měsícem +4

    Thanks, Matthew, for sharing this interesting video. In Microsoft ecosystem the idea of code generation dates back to around 2001 when C# became available, and we even produced a number of multi-tier apps with this functionality by creating a code generator. I hope we can achieve something similar in Power Apps. It would be great if Microsoft added features to allow us to create controls on screens on the fly/dynamically by leveraging YAML.😊

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +1

      Oh man. I want to hear more about this. How far did you take it with your app generator? What features did it include?

    • @saeedsm57
      @saeedsm57 Před měsícem

      ​@@matthewdevaney3912It took us around 4 months to develop the initial version, and we updated it whenever new features were added to .NET or C#. This approach is used by many software companies to save time producing repetitive code and to help create standardized, readable code.I looked for this feature in Power Apps, but because we cannot save each screen separately in a file, it is not possible to achieve something similar to what we have in Visual Studio.

    • @saeedsm57
      @saeedsm57 Před měsícem

      @@matthewdevaney3912 It took us around 4 months to develop the initial version, and we updated it whenever new features were added to .NET or C#. This approach is used by many software companies to save time producing repetitive code and to help create standardized, readable code.I looked for this feature in Power Apps, but because we cannot save each screen separately in a file, it is not possible to achieve something similar to what we have in Visual Studio

    • @krishnakicha9921
      @krishnakicha9921 Před měsícem

      Hi where can we get this app?

  • @geethasivasailam6849
    @geethasivasailam6849 Před měsícem +1

    Absolute game changer! Blending creativity and YAML code concepts is going to exponentially accelerate code standardization and app maker experiences. Thanks for sharing this impressive code generator 💣

  • @PowerAppsTutorial
    @PowerAppsTutorial Před měsícem +8

    Only the cool kids write code generators. 😎😎👍👍

  • @gznqtl
    @gznqtl Před 17 dny

    Whawww!, this is amazing, thank you for sharing! You really are excited show this tool (Y).

  • @markkloch5616
    @markkloch5616 Před měsícem +1

    How much fun are you having! Awesome job Matthew, thank you.

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      Yup, the whole goal was just to have fun and not think about it too much. Not worrying about the goal leads to better creativity!

    • @mehtabidreesi7942
      @mehtabidreesi7942 Před měsícem

      @@matthewdevaney3912 please post also videos on youtube choose one of the latest and interesting topic from you blogs and make video here

  • @schymi841
    @schymi841 Před měsícem

    It's good to see you making longer videos. Previous video about delegation was great. This one is next level obviously. I hope you'll be able to produce such gold on weekly basis :)

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      Weekly would be tough. But I’m not opposed to doing more videos someday.

  • @musamayomi
    @musamayomi Před 16 dny

    This is amazing, and I am bold to say it is also a game changer.

  • @jray1429
    @jray1429 Před měsícem

    This is amazingly awesome!!
    Thank for taking the time to do this!

  • @Bekesam
    @Bekesam Před měsícem

    Hi Mathew, big fan of your work. Thank you for posting the eye opening feature in such a great way!

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      You’re welcome. This was just me having fun. And not trying too hard to do anything other than scratch my own itch.

  • @nettlej
    @nettlej Před měsícem

    This is great! I've spent sooo much time customizing input forms and screens - I'm both sad I can't get that time back and excited to not have to do that again.

  • @NunoNogueira
    @NunoNogueira Před měsícem

    Great stuff, as always!
    More and more, it seems the future will be about ready-made apps.

  • @mdhidayat5706
    @mdhidayat5706 Před měsícem

    This is insane amazing! 😁😁
    Definitely allows a more consistent UI to the form creation , especially for quick prototyping.

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      It’s amazing what can be done with a little bit of free time. Hard to find it while I’m working. But spending one of my vacation afternoons was easy to justify.

    • @mdhidayat5706
      @mdhidayat5706 Před měsícem

      @@matthewdevaney3912 haha, I should take more vacation afternoons too
      by the way how did you create an asterix to mark the field as mandatory? Is that a modern control feature?

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      I did this inside of an HTML control because you can use multiple colors there.

    • @mdhidayat5706
      @mdhidayat5706 Před měsícem

      thank you for sharing this tip!
      I got to take more afternoon vacation to get this creative 😅

  • @GilbertYatesPhotography

    Awesome explainer, and thanks for showing some of the code that runs this, enough to get me going, Excited to see where this leads.

    • @matthewdevaney3912
      @matthewdevaney3912  Před 25 dny

      Sounds liked I achieved my mission to get your mind going to new and exciting places. Best of luck on your own code generator app!

  • @ibitoyeolarewaju7498
    @ibitoyeolarewaju7498 Před 14 dny

    Wow!!.. This is amazing!

  • @JesperIlves
    @JesperIlves Před 24 dny

    This is absolutely great

  • @brammiejo
    @brammiejo Před měsícem

    Hey Matthew! Great App!
    You have some more plans on the roadmap? It would be cool if the app had like a section where you can set your UI preferences.
    Also I see a lot of potential with AI generated YAML

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +1

      Next steps:
      - Add support for Lookups and Choices columns
      - Select/Deselect table columns to include
      - Change field order
      - Support for both Dataverse Tables and Collections as the Datasource.

  • @virajpatil6487
    @virajpatil6487 Před měsícem

    Amazing, you are really a PowerApps magician !

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      Oh, I’m just guy a who loves to code and experiment. Thats all 😊

  • @mehtabidreesi7942
    @mehtabidreesi7942 Před měsícem

    Matthew you are Awesome
    please also make videos as you posted blogs
    its easy to understand and get more details

  • @eco707
    @eco707 Před měsícem

    Hopefully we could someday edit the YAML code straight from the Power Apps.

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      I’m sure it will happen. Just not the first step for this feature.

  • @FabriceGC
    @FabriceGC Před 22 dny

    You are a true legend!!!!
    How were you able to add components to the screen with just code and no ui interaction. (What is the code for the add field button)

    • @matthewdevaney3912
      @matthewdevaney3912  Před 21 dnem +1

      Tough to explain in a CZcams comment but I think I’ll do a live stream after Power Platform Conference so I can answer questions like this.

  • @anilsk2010
    @anilsk2010 Před měsícem

    Bravo!! This is fantastic!

  • @adamducky1991
    @adamducky1991 Před 21 dnem

    This is awesome! Could you share the file for this app so we can use it as a reference to build our own YAML code generators? :)

  • @PowerAppsTutorial
    @PowerAppsTutorial Před měsícem

    I want the generation code. If you don't supply it, I'll be kitten you not - I will resort to purr-suasion and bribe your cat to cough it up like a furball!

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +1

      It’s easy. Just take still frames as I scroll through the app formulas code Darren. 😂

    • @PowerAppsTutorial
      @PowerAppsTutorial Před měsícem

      @@matthewdevaney3912 Very good. thank you, my friend.

  • @cultsphere
    @cultsphere Před měsícem

    Awesome feature for sure! Great video, thank you!
    How did you make the copy button to get the yaml code?

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      There is a Copy() function in PowerFx that allows you to copy text to the clipboard :)

  • @dejantrajkovic4169
    @dejantrajkovic4169 Před 11 dny

    I created a component 2-3 weeks ago for navigation (4 levels of nested gallery) using view code/paste code, and it was working and still works in components. The problem is that now I can not insert it on any screen or copy and paste it from a component I think because it was using this feature. Any idea how I can insert it on screens?

  • @aman-alytics
    @aman-alytics Před měsícem

    One of the best updates

  • @PaulAndHarris
    @PaulAndHarris Před měsícem

    Incredibly impressive!

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +1

      Now I want to know who among us has taken this concept even further?

    • @PaulAndHarris
      @PaulAndHarris Před měsícem

      @@matthewdevaney3912 -- Could this idea be put into a Component Library and then sold somehow?

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +1

      It could. Developers are a hard market to sell to. Many times they build their own or grab something open source.

  • @JayFitzhenry
    @JayFitzhenry Před měsícem

    Great video :)

  • @GaryCrant
    @GaryCrant Před 10 dny

    Hi Matthew, any chance that you will share this app?

  • @geralddahl9159
    @geralddahl9159 Před měsícem

    Congratulations and thanks for sharing.

  • @crazymaster7806
    @crazymaster7806 Před měsícem

    Hi Matthew,
    Can pls help me
    How to create a roadmap for project, from jan to dec in single screen Using powerapps
    Can you pls creat video on this this will help me a lot.

  • @patrickharilantoraherinjat2994

    NO way! just amazing

  • @_acadien
    @_acadien Před měsícem

    Excellent stuff

  • @DroneEyes
    @DroneEyes Před měsícem

    That is great Matthew .... could you share the power app file with us?

  • @ronbakker1300
    @ronbakker1300 Před měsícem

    That's a lot to think about

  • @DimitriMissentos
    @DimitriMissentos Před měsícem

    Whaouh! well done!

  • @mikaeldias5372
    @mikaeldias5372 Před měsícem

    I want to try it!! ❤

  • @powertothepeople4525
    @powertothepeople4525 Před měsícem

    too cool!

  • @jaddfigaro7246
    @jaddfigaro7246 Před měsícem

    This is 🤯!!!

  • @marti0
    @marti0 Před měsícem

    Love it 😍

  • @Catchsudheer2005
    @Catchsudheer2005 Před měsícem

    what's behind the auto-generate button?

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +2

      The auto generate button runs a flow to get the table columns and their types. I used the EntityDefinitions endpoint in the Dataverse WebAPI.

  • @jordanskinner8512
    @jordanskinner8512 Před 8 dny

    Take my money?

  • @krishnakicha9921
    @krishnakicha9921 Před měsícem

    Hi where can we get this app?

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      Not publicly released right now. Lack of time is the biggest factor. I need to add a few more minor features and write documentation.
      Most probable thing I will do next is have a user group presentation or do a live streaming session where I partially build it. And take Q&A.

  • @mwright137
    @mwright137 Před měsícem

    Did you share the app anywhere?

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem +2

      No, I did not share the app anywhere. Just wanted to share what I built without having to package it up and write documentation. I think it would be a good user group or livestream topic for me to demonstrate how to build.

    • @mwright137
      @mwright137 Před měsícem

      Copy. Just making sure I didn’t miss anything

    • @matthewdevaney3912
      @matthewdevaney3912  Před měsícem

      No problem.

  • @naijatechmentor
    @naijatechmentor Před měsícem

    Wah 😃