Enumeration Filter - Mendix Forum

Enumeration Filter

20

Hi,

It would be cool if the drop down lists pointing to an enumeration attribute would have a filter. Currently we have to create multiple enumerations having diffrent values and show conditionally visible drop downs in order to filter enumeration values for a user and set the main enumeration list

Example:

Services List (Enumeration) consists of values:

- Service 1

- Service 2

- Service 3

User A can apply for services (Enumeration to be filtered based on below):

- Service 1

- Service 2

User B can apply for services (Enumeration to be filtered based on below):

- Service 2

- Service 3

asked
6 answers

You could use DynamicEnumPicker from Marketplace.

Created

been 4 years, is there any solution to this yet? cheers!

Created

You could make your own dropdown enum widget where you could filter all the values you don't want.

Created

What you actually want are attributes for enums. Then you can filter on the value of an attribute.

Created

That is true Dennis Kho, but with entities you are not able to make fields conditionally editable or visible etc. based on value. And you would always get back to using either enumerations or boleans that are set using on change microflows in the end. While using enumerations right away give you more control and are much easier to deal with in development, having the feature of filtering enumerations would be much helpful in this case.

Created

Isn't this something that you could model using entitites rather than using Enumerations?

By using entities you're able to apply entity access rules based on a user role (among others). 

Created