cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
esoPowerUser
Advocate II
Advocate II

Possible to list Entity Views in a dropdown using PowerApps/ CDS/ Dynamics 365?

I have successfully managed to use filtering with the new experimental functionality with Filter and Entity Views in the formula bar which is great. ( Dynamics 365 , PowerApps with CDS Connector, Canvas app ) ( attached image )

However, I would also very much like to list the views in a dropdown , and not hardcode set the filter in a gallery.

Question: 

Is it possible to list the Entity views in a dropdown or  are they only available has hardcoded constants in the formula bar?

Error:

I have tried to set the 'Contacts (Views)' as a items datasource on a dropdown but I get: "This datatype is not supported for evaluation"  ( roughly translated error message from my local language )

 

Maybe there are some ways to convert the values to legal dropdown values? 

 

Related link: https://powerapps.microsoft.com/en-us/blog/improved-data-source-selection-and-common-data-service-vi...

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @esoPowerUser ,

Do you want to list all available Entity Views within a Dropdown box?

 

If you want to list all available Entity Views within a Dropdown box, I afraid that there is no way to achieve your needs in PowerApps currently.

 

The 'EntityName (Views)' is not supported within Dropdown box. If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

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

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @esoPowerUser ,

Do you want to list all available Entity Views within a Dropdown box?

 

If you want to list all available Entity Views within a Dropdown box, I afraid that there is no way to achieve your needs in PowerApps currently.

 

The 'EntityName (Views)' is not supported within Dropdown box. If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

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

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

HSheild
Super User
Super User

Hi @esoPowerUser ,

 

I think I might have figured this out.  You can use the Choices function.  In my example below I have used Choices('Contacts (Views)') as the formula for Items for a Combo Box control.  It lists all of the Saved Views for Contacts.

 

HSheild_0-1622706399564.png

 

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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,579)