cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

View solution in original post

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.

View solution in original post

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.

Users Online
Currently online: 336 members 5,644 guests
Please welcome our newest community members: