Hey maybe someone will have some insight on here.
We are currently getting this error in our PowerApps design portal.
"The Function 'Collect' has some invalid arguments" I have attached an image...any thoughts?
Sorry for the delayed response, but i am no longer getting that first error...this is what i am getting now.
Sorry for the delayed response. But i am no longer getting that error....now this is what i am getting in the image attached
Try using:
Collect(Collection1, {currForm: SharePointForm1.Current})
This will add to the list where as if you only ever want to have a single entry you could use ClearCollect instead. Making it an object like that might fix what @mdevaney was talking about.
@RandolphNorth
SharePointForm1.Current is not a table. ClearCollect only accepts a Table as an argument in the 2nd position.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2