Member parameters for Java actions - Mendix Forum

Member parameters for Java actions


it would be great, if you could pass entity members as references into Java actions.


Use Case:

We wanted to build a Java action that does a mandatory validation on one member of an object. For this, we wanted to have a Java action where you can pass both the object and a member to check. Unfortunately we did not find a clean way to do this.


We were thinking of a selection as the validation feedback action has, where you can select a member of an object.


I am not sure about the Studio Pro side of this, but it is definitely possible to work with entity member references on the Java side. You could simply receive an “IMendixObjectMember” or “IMetaPrimitive”.

1 answers

Related ideas: