Member parameters for Java actions - Mendix Forum

Member parameters for Java actions

7

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”.

asked
1 answers

Related ideas:
https://forum.mendix.com/link/space/java-actions/ideas/3951
https://forum.mendix.com/link/space/java-actions/ideas/2109
https://forum.mendix.com/link/space/java-actions/ideas/691

Created