Enum To List
Overview
This module EnumToList allows to transform an enumeration (as object attribute) into a list of object in order to iterate with a loop.
- It can be a list of a generic entity, a value pairs where the enumeration values are transformed as strings.
- It can also be a list of specific entities that hold the actual enumeration as attribute.
- It also offer the capability to set from a string the enumeration value on an object attribute.
In all these capabilities, it is required for the enumeration to be hold as attribute on a entity. Both microflows and nanoflows are supported.
Mx11+ BREAKING CHANGE : Retire Javascript actions because React client doesn't offer the required API, and Dojo API is now deprecated
Documentation
Description
This module EnumToList allows to transform an enumeration (as object attribute) into a list of object in order to iterate with a loop.
- It can be a list of a generic entity, a value pairs where the enumeration values are transformed as strings.
- It can also be a list of specific entities that hold the actual enumeration as attribute.
- It also offer the capability to set from a string the enumeration value on an object attribute.
In all these capabilities, it is required for the enumeration to be hold as attribute on a entity.
only microflows are supported. Nanoflow used to be supported in previous versions based on Dojo API, but react client API for Mx11 doesn't offer the required API.
Typical usage scenario
Loop over the possible values of an enumeration.
Features and limitations
- Enum to generic list
- Enum to custom list
- String to Enum Attribute
Dependencies [optional]
- Mendix 9.24.2
Releases
- Upgrade to MX 11
- Fix java for Mx 11 compatibility
- BREAKING CHANGE : Retire Javascript actions because React client doesn't offer the required API, and Dojo API is now deprecated