<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=612681139262614&amp;ev=PageView&amp;noscript=1">
Skip to content

Need help? Talk to an expert: phone(904) 638-5743

Create A Record Without A Form In Power Apps Using PATCH

Create A Record Without A Form In Power Apps Using PATCH

In Power Apps, forms are great to use to submit data to be recorded in your data source.  They do not take long to set up and the functions used to submit the data are fairly simple.  This simplicity, however, can come at a cost.  The cost of using a form is you don’t have a lot of design control in terms of layout and design.  If you don’t like the rigid structure of forms and want more freedom, then I’ve got the fix for you.  You need to become acquainted with the Patch function.

The Patch function allows you to update or create a new record in your data source.  The Patch function requires you to identify your data source, decide if you want to update or create a record, and then point to your controls on the app that contains the data you are submitting.  The coding is a little more involved compared to SubmitForm(FormName) that you use on forms.  The payoff, though, for learning a little more advanced code is you get complete design freedom for your data input controls.

Check out this video, for a simple walkthrough of how to use the Patch function and break free from the chains of rigid forms.

 

Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power BI, Power AppsPower AutomateCopilot StudioFabricAzure and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks, along with fresh content every week.

It's also incredibly easy to get started with your 7-day free trial. No credit card required. Just click below and you'll be on your way.

Sign-up now and get instant access

Leave a comment

Free Trial

On-demand learning

Most Recent

private training

Hackathons, enterprise training, virtual monitoring