cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Oos
Level: Powered On

Clearcollect in OnSelect of Components

I'm using the new components and having a few problems. 
I have 12 buttons (components) on the start screen with each button it's own datasources.

In the onselect function of the button (component) i'm using the following formula: 

ClearCollect(AgendaCollection; EnvironmentComponent.DataSourceAGENDA);;

In the next screens I can unfortunately not use the AgendaCollection as I can in normal collections. When I try to filter the collection, it doesn't recognize columns ... How can I solve this?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Clearcollect in OnSelect of Components

Hi @Oos 

      

Could you please reference this?

https://powerapps.microsoft.com/en-us/blog/components-start-your-journey-with-reusable-controls/

Current limitations:

Collections: using a collection within a component is not yet fully supported, but you can use variables today.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best Regards.

Yumia

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Clearcollect in OnSelect of Components

Hi @Oos 

      

Could you please reference this?

https://powerapps.microsoft.com/en-us/blog/components-start-your-journey-with-reusable-controls/

Current limitations:

Collections: using a collection within a component is not yet fully supported, but you can use variables today.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best Regards.

Yumia

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,462)