web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Name isn't valid. This...
Power Apps
Answered

Name isn't valid. This identifier is not recognized! While try to use collection in a component.

(0) ShareShare
ReportReport
Posted on by 5

Hello!
I would like to create a Hamburger menu, with the use of a collection, beacuse I want to change the visible property inside and outside of the component. I found a helpfull video, on this site, which says I should try to use a collection because both the canvas app and the component can communicate with it. The problem is it doesn't see any of my collections. My collection is on the suggestions lists, but when I insert it, a beutifull error appears which says Name isn't valid. The "[name of collection]" is not recognized!

 

I wonder if they removed the support of the collections in a components.

 

My function looks like this. (This is in a different language, ";" means ',' and ";;" means ';' in the english version)

Viktor_Csonka_0-1660562737424.png

 

 

Thanks for reading, I appreaciate your time! 

Categories:
  • Verified answer
    LuizVicente Profile Picture
    984 Super User 2024 Season 1 on at

    Make sure your component is enabled to access the App scope:

    Roverandom_0-1660567585263.png

     

    If this option does not appear, follow this procedure: https://powerapps.microsoft.com/en-us/blog/canvas-components-can-now-access-app-scope-directly/

  • Viktor_Csonka Profile Picture
    5 on at

    My thanks to you!

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard