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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (74,007)