cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gmcanally
Advocate II
Advocate II

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
RezaDorrani
Dual Super User II
Dual Super User II

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

v-yutliu-msft
Community Support
Community Support

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,070)