Notifications
Announcements
This just started late last week. This app already has two other collections in it that were created without issue earlier but now when I go to create a new one (via Collect or ClearCollect) I get this 'name not valid' error.
Any ideas or suggestions to fix this? The only other similar thing I could find out there the user basically said it magically fixed itself after some amount of time.
Thanks, Ed
Hi @Anonymous ,
try this:
ClearCollect(text123,{abc:""})
ClearCollect expects the column names and values (at least one) see the below article for more details and syntax:https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-clear-collect-clearcollect
@KrishnaV thanks, I was aware of the syntax requirements but didn't recall it throwing an error so early previously so that was throwing me off a bit. Plus I was trying to use the LookUp function to grab an item from a SP list (not shown in my screenshot) and finally realized in that scenario you leave out the { } brackets - did that and all the errors went away. Sometimes it's the simple stuff that get you, haha! 😣
Not necessarily that, clearcollect always expect either the columns and its values or the dataset directly as below:clearcollect(colABC,Filter(SPList,ID>10))
In the above statement, I have not {} but this works smoothly because I am passing a dataset directly.
I'm Also using a filter but here name is invalid
What shall i do?
The solution is that i was missing a bracket,but can anyone tell me how to delete a reply here
I dont know why it is showing error. It says Name isn't valid. TasksCreate isn't recognized. pls help
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268