cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Community Champion
Community Champion

How do you use CDS picklists in a dropdown?

Hello all.  I have created a custom picklist in CDS.

How can I obtain the values to display as choices in a dropdown control in PowerApps?

Thanks for any input.

1 ACCEPTED SOLUTION

Accepted Solutions

There is now a new extension to the DataSourceInfo function that allows you to do this:

 

DataSourceInfo(MySource, AllowedValues, MyPickListColumn)

This returns a table of available values.

 

Thanks PowerApps team!

View solution in original post

4 REPLIES 4
Leo09
Helper V
Helper V

About this picklist in CDS, how did you create it? Can you post a screenshot here?

Meneghino
Community Champion
Community Champion

There is now a new extension to the DataSourceInfo function that allows you to do this:

 

DataSourceInfo(MySource, AllowedValues, MyPickListColumn)

This returns a table of available values.

 

Thanks PowerApps team!

Can you use DataSourceInfo() to filter the picklist results? I want to limit the choices of my dropdown that is populated with a picklist. Basically only show valid picklist values based on a previous filter/choice.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (5,113)