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

Remove records from large sharepoint datasource

I have seen multiple "Solved" posts on this topic, but none of them contain a solution.

 

With Remove being a non-delegable function for SharePoint, how do you reliably remove multiple records from a SharePoint data source with 2000+ rows?

 

I understand that you can remove records from a collection, but that won't remove the record from the connected datasource so "Use collections" isn't a solution.

 

 

 

 

2 REPLIES 2
Dual Super User
Dual Super User

Re: Remove records from large sharepoint datasource

Hi @gmcanally 

 

You can use forall and then remove 

But 2k items will be a performance hit for sure

You could probably update a column (hidden) in your data source

Maybe PowerApps just updates all 2k items and sets IsDelete(hidden column) to "Yes"

And then a Flow can run periodically and delete all items which marked with IsDelete Yes

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Community Support Team
Community Support Team

Re: Remove records from large sharepoint datasource

Hi @gmcanally ,

Yes, as @RezaDorrani  said, there's no function of sharepoint about removing is delegable in PowerApps currently.

So just using PowerApps to make it is not supported now.

Delegation is PowerApps itself limit.

There is currently no way to avoid this.

I suggest you express your views about making removing fucntions delegable on PowerApps Ideas Forum.

Your precious feedback will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

However, Flow do not have this limit.

So I suggest you create a flow about removing records and call it in PowerApps.

 

 

Best regards,

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.

Helpful resources

Announcements
thirdimage

Power Platform 24

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

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