cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
Level 8

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
Level 10

Re: Submit as a new record using existing data in powerapps

vish_p
Level 8

Re: Submit as a new record using existing data in powerapps

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
Level 10

Re: Submit as a new record using existing data in powerapps

@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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,127)