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

Submit as a new record using existing data in powerapps

I have linked my Sharepoint list in my app,and al the list items are shown as a gallery to the user,now if user wants to edit a particular record ,an edit form opens and they can update the same (submit button i have mapped with "SubmitForm" command )

But my user requirement is that in the edit window he will edit the data and the same should be submitted as a new record to my sp list..if it is possible ,please tell me how to do it ?

3 REPLIES 3
panand99
Solution Supplier
Solution Supplier

patch is for updating exisiting record right ? this requirement is to submit as a new record


@panand99 wrote:

@vish_p 

you can use function patch to fulfill this.

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-pa




panand99
Solution Supplier
Solution Supplier

@vish_p 

 

Use Patch with the Defaults function to create records. Use this behavior to build a single screen for both creating and editing records. For example, this formula creates a record for a customer named Contoso:

Patch( Customers, Defaults( Customer ), { Name: “Contoso” } )

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,663)