cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fpc-kdrosario
Helper I
Helper I

Declare Collection without creating a row

Good day,

 

I'm trying to declare a collection so that I can use the collection name in other parts of my app. But when I try to declare the collection, it automatically adds a row to the collection.

 

Is there a way to just declare a collection without powerapps creating a row for it automatically?

1 ACCEPTED SOLUTION

Accepted Solutions
pontusofsweden
Resolver IV
Resolver IV

Hi @fpc-kdrosario!

 

A workaround for this can be to create the collection and then clear it directly. I.e.

Collect(ColA,{Name:""});Clear(ColA)

 

BR

Pontus

View solution in original post

2 REPLIES 2
pontusofsweden
Resolver IV
Resolver IV

Hi @fpc-kdrosario!

 

A workaround for this can be to create the collection and then clear it directly. I.e.

Collect(ColA,{Name:""});Clear(ColA)

 

BR

Pontus

View solution in original post

I love how you just played around with the system. Thanks for this mate!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,692)