Can modeler (studio & pro) auto create an enumeration of microflow names, an enumeration of entity names, an enumeration of associations, an enumeration of pages with each module? - Mendix Forum

Can modeler (studio & pro) auto create an enumeration of microflow names, an enumeration of entity names, an enumeration of associations, an enumeration of pages with each module?

2

Can modeler (studio & pro) auto create an enumeration of microflow names, an enumeration of entity names, an enumeration of associations, an enumeration of pages with each module?

These values are available in widget-panels and java action panel, but at other places they are not available. User roles are available as token which is ok but enum for that would also be nice. So say in each module mendix defines a enumeration called, MxMicroflowsEnum and dynamically adds the name of any microflow that gets created in that module. Similarly MxAssociationEnum, MxEntityEnum, MxJavaActionEnum. And these enums can be in system module so they are not editable by developers.

These enum can help in making app more dynamic and yet prevent free form strings for names.

asked
1 answers

Dear Abhijit

If you need something like this, you can create a script to read you project an create such enums with the Mendix SDK

https://docs.mendix.com/apidocs-mxsdk/mxsdk/

Cheers,

Andries

Created