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

Welcome to the User Group Public Preview

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (49,200)