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

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,642)