cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
paragchapre
Level: Powered On

Select Multiple records and insert into CDS

Hello,

 

I have created an entity in CDS name TST_WebAppConfig and I have below data.

I have created a power app with 2 field and I want to select multiple employee name for a Webapp and insert into CDS.

 

Patch(TST_WebAppConfig ,Defaults(TST_WebAppConfig ),{WebAppName:Textbox1.text, EmployeeName:ListBox1.SelectedItems.Value});

But it is not inserting record in CDS. Is something wrong with this function?

 

WebApp name

Employee name

ABC

Test user A

ABC

Test user B

XYZ

Test user B

PQR

Test user A

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Select Multiple records and insert into CDS

Hi @paragchapre ,

 

It seems that you are trying to bulk update records to data source. Please refer to below documentation about how to achieve this:

https://powerapps.microsoft.com/en-us/blog/bulk-update-using-forall-and-patch/

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Select Multiple records and insert into CDS

Hi @paragchapre ,

 

It seems that you are trying to bulk update records to data source. Please refer to below documentation about how to achieve this:

https://powerapps.microsoft.com/en-us/blog/bulk-update-using-forall-and-patch/

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 177 members 4,366 guests
Please welcome our newest community members: