Driving an Enumeration List from a seperate Database Table

I am trying to drive the content of an Enumeration List from a seperate database table.  Cant see a way of doing this in the Web Modeler. Can this be done in the Desktop modeler or by any other means? also is it possible to have a Multiselect Enumeration feature? Thoughts welcome. Daryl
1 answers

Hello Daryl,

I’m not sure exactly what your use case is, you cannot define an enumeration model object from a table as the enums are hard-coded. 

You can use tables as enumerations when associating objects (I believe this is what you're trying to achieve) see Reference selectors and Reference set selectors ( https://docs.mendix.com/refguide/reference-selector & https://docs.mendix.com/refguide/reference-set-selector ) 

As for multi-selection in one dropdown you can use the bootstrap multi-select widget ( https://appstore.home.mendix.com/link/app/2295/ )

Hope this helps