Convert Default Form to Custom Form in Power Apps - Defaults, DefaultSelectedItems, and More!
Vložit
- čas přidán 25. 07. 2024
- Part 1: • Creating a Power App f...
Part 2: • Creating an Edit Form ...
Part 3: • Convert Default Form t...
Part 4: • Making Containers work...
Part 5: • Wait! Solve Delegation...
When building a modern custom form in Power Apps, you'll begin by using the form designer, which allows you to easily arrange data fields on a canvas, connecting directly with various data sources like SharePoint or Dataverse. To improve the form's usability, incorporate elements such as conditional visibility, field validations, and custom controls like custom buttons or date pickers, making it both functional and user-friendly. Additionally, we need consider a few things when converting from a out of the box form that uses SubmitForm() to a custom form that now uses a Patch() command.
Chapters:
0:00 Introduction
0:40 What we need to think about for Custom Forms
2:00 Using a variable for Form Mode
4:10 Building out our Form with Labels and Inputs
7:35 Using Buttons for Custom Inputs
11:10 Default for Single Line Text
12:30 Using our Variable for Form Mode
14:24 DefaultSelectedItems Modern Dropdown
16:15 DefaultSelectedItems Modern Combobox
20:00 What drove me crazy on Default Comboboxes
22:30 Finally Patching or Saving Data
26:30 Conclusion - Věda a technologie
Let me know if these videos are still helpful! Or we can pivot to some new content!
Patch can be a pita to wrap your head around at first, but I think this video truly shows its versatility. Best to learn it and learn it well. Thanks for this Andrew. Cleared lots up for me
You're too kind! Yeah I just got back from the Microsoft conference so I'm catching up on all the comments. Yeah patching can get complex fast especially as soon as you start adding LookUps and other complex data types like people pickers and more!
@@andrewhess123Can't Wait!
I'm still blown away by that notes video you did. That's one of the best use case videos I've seen on here. I was scouring for something like that for a while too. Not a lot of videos cover that case so you nailed that big time. I bet that one does really well. Cheers!
haha thanks mdizzle! Yeah that's a good use case that could be used in so many different ways!
I found it helpful. Particularly the part about clearing the input controls when selecting new. That one took me a lifetime w ChatGPT and when I finally got it I was still stumped as to how it worked. Your explanation helped big time. That said. I would still enjoy other topics as well as I am a total noob to Power Apps and a novice programmer at best. I'm still learning syntax so I appreciate how you take your time with it all.
Oh yeah, hope we can get more and more into it. Trying to go slower had many people say I was going to fast... I make a lot of assumptions so gotta break it down. Hope it's helpful and honestly it's better for the subscribers because I can't fit everything into one video. Each week more and more tips! 😃
Legend
Thanks John for the continuous support! 😃
Hi Andrew! Thanks to your help, my flow and power app are looking great, and are almost finished. However I’m running into a bit of an unusual issue 😅 so I have 20 combo and text input boxes in the power app, and these boxes correspond to a word doc template which is later saved in share point. Despite linking the boxes with the dynamic content feature in my flow, the data is inputting to the wrong boxes. It’s completely random, the flow is working as the data is being transferred from the PowerApp, however the data in word doc ends up being jumbled up! Is there a simple fix? 😢
Hi Matthew, interesting, there could be many different issues here, but I'm not sure which one is yours. What type of flow did you build, with the premium word document connector? When you write from the Power App to SharePoint, is everything matching correctly in SharePoint? If SharePoint is fine it has to either be the Flow or the Word Doc Template... and sometimes those templates are a pain!! And they just don't connect right. I would either double check the flow or start with the template and try to map 1 column first, then slowly build out to all the columns.
@@andrewhess123 I’m going to have to take some steps back and redo it column by column. Bizarrely the first four rows /
Columns work perfectly, then every other one is muddled up! For reference, My flow looks like this: PowerAppsV2 - populate MS word template - create file. I assume the flow is working correctly if all of the inputs are being transferred,? (albeit in the wrong order) therefore the issue may lie in the word doc? Let me know what you suspect! Thanks again
@@matthewshimmin764 Try pushing the fields in the Flow to an email and see if they match up to what you think they should be.