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

Update many records at once

Hello everybody


I created an app to check for availability dates for staff on certain dates. People can log in with a password and are shown all the open dates for the next few months en they can fill in a checkbox to show if they are available. When they fill in the complete list those records are imported in another table in excel which shows the dates and if the employee is available. There will be over 100 records imported in the table. This takes minutes because i think for each record powerapps callls the server again and again.


I have searched on this forum and the only sollution i have found is a old solution from "Meneghino" in this topic https://powerusers.microsoft.com/t5/PowerApps-Ideas/Patch-multiple-records-with-one-server-call-inst.... But i dont understand how to do this en i don't use mysql.


Is there already any way to update a lot of records with one server call because this will save lots of time? Or does someone know a better idea to resolve my problem


Thank you in advance

2 REPLIES 2
Community Support Team
Community Support Team

Re: Update many records at once

Hi @rogierv ,

Do you want to update multiple different records at the same time?

I suggest you use the function of ForAll and Patch.

Here's a similar example for your reference:

https://powerusers.microsoft.com/t5/Creating-Apps/Update-multiple-records/td-p/132133

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
rogierv
Level: Powered On

Re: Update many records at once

Hello

 

Thank you for your reply but the problem is not the actual update. This works fine but with a collection update with 100 rows with each 5 records it takes minutes because it is not done within one server call( i assume this is the reason it takes so long)

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,825)