cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Community Support

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
Community Support

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (8,689)