cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PK_Hong
Helper V
Helper V

Delegation - Collection vs Collect & ClearCollect

Hi PA:

 

In https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview

there is something confusing:

 

Collection vs ClearCollect and Collect

- Are they Delegable or NOT?

 

Some notable items missing from the above list (delegable)

 

Non-delegable functions

All other functions do not support delegation, including these notable functions:

TQ

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Shanescows

 

Thanks so much for sharing.

 

In fact, I just need CLARIFICATION (not answer) from PA Team to avoid confusion to user from the Documentation,

Delegation has been changed to 2,000 (Under Experimental Features).. just to share with you in case you forget to follow with the latest update (couple of months ago).

 

In fact, few of us, including @mr. dang, have several options on how to clear the delegation obstacles months ago. It is under another username of mine (hpkeong but changed to this username due to problem at MS Forum).

 

Anyhow, appreciate of your sharing.

View solution in original post

2 REPLIES 2

I think the answer you are looking for is Collect and ClearCollect are not delegatable. Specific example:

 

If you do Collect(MyCollection, SharePointDataSource) you will only get the first 500 records back. 

 

I believe if you created a collection with more than 500 items you could use all of the functions like Search with it but performance is pretty bad. 

 

Does that answer what you are looking for?

 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

Hi @Shanescows

 

Thanks so much for sharing.

 

In fact, I just need CLARIFICATION (not answer) from PA Team to avoid confusion to user from the Documentation,

Delegation has been changed to 2,000 (Under Experimental Features).. just to share with you in case you forget to follow with the latest update (couple of months ago).

 

In fact, few of us, including @mr. dang, have several options on how to clear the delegation obstacles months ago. It is under another username of mine (hpkeong but changed to this username due to problem at MS Forum).

 

Anyhow, appreciate of your sharing.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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