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 / Collection not recogni...
Power Apps
Answered

Collection not recognized when creating a vertical gallery in a component

(0) ShareShare
ReportReport
Posted on by 96

Hello Power Users ,

 

I am creating a component with data source as a collection. Now, collection formula in itself is working fine where i can see that data is being collected but when i am trying to use this collection as data source in Vertical Gallery in a component , I am getting the error that "Name isn't valid" .Below are the screenshots for reference.

 

Can you please check and help me with it.

 

Collection Formula in App:

Prateek9_0-1677748734224.png

 

Data collected in collection variable under Settings:

Prateek9_2-1677748784542.png

 

Getting error when using the collection as datasource in Vertical Gallery in component:

Prateek9_3-1677748895851.png

 

Best Regards,

Prateek

 

 

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Prateek9,

    You should configure custom property within the Component.

     

    Create an Input property like Items, make it data type as Table:

    vqiaqimsft_0-1677824746441.png

     

    Then set the Items property of the Gallery with:

    Component1.Items

    vqiaqimsft_1-1677825029403.png

     

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard