I've had too many times a situation where I find myself with a string value and have to find a corresponding enumeration value for it. Mostly in data transport situations between various systems.
So I was wondering: if we can have 'getCaption' and 'getKey' for enumeration values, would it not be helpful to also have at least a 'findByKey' for enumeration values (I can understand 'findByCaption' would be challenging in multi-lingual apps)
I agree, it would be useful to have an option in Mendix to convert a string into an enumeration value.
Currently you can achieve this through a Java Action EnumerationFromString
in Community Commons, but built-in would be better =)
I think this is the same idea as
https://community.mendix.com/link/space/studio-pro/ideas/306
https://community.mendix.com/link/space/studio-pro/ideas/2079