cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahhollan
Helper V
Helper V

Patch and Submit new form - Submit not working

I have a form where I am having to patch a dropdown value to a SP list and want to do this at the same time that the form is created and the other fields are submitted. I've tried with the Patch function. I can get the patched field to submit and create the record, but the other fields are empty. Below is my formula.

 

Patch('Alarm Tracking', Defaults('Alarm Tracking'), {Facility:DataCardValue12.Selected.Result}; EditForm1.Updates)

 

'Alarm Tracking' is the SP list where the new record should be created and the Facility field should be patched.  Any help would be appreciated.

11 REPLIES 11

I ended up using the patch method.  I added fields one by one and tested each time until I was successful. Thanks for all the responses.

Anonymous
Not applicable

Hi Team

 

I'm new to Power Apps. I tried to create a form with default cards and few custom cards.  While submitting the form, I want the entire change to take place including the values in custom cards. Tried the below formula to create a NEW form.

 

Patch(Table1,  Defaults(Table1), {'Resource Name: Dropdown1.Selected.Value, 'Date1: Datepicker1.SelectedDate'}, Editform1.Updates)

 

Q1: After submitting, the form displayed all fields except 'Resource Name' which is a dropdown custom card value. Please help if I need to change any property of dropdown card.

 

Q2: How to edit the existing form with the above conditions.

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (3,157)