Can we access Entity of Mendix Module like Entity and from entity we take Entity Name.

0
asked
2 answers
0

Adding my response as an answer:

If you have the community commons module downloaded into the project, there is a java action called "getTypeAsString" which will return the module.entity name as a string (for example, "MyFirstModule.Entity").  The action takes one parameter which will be the entity that you would like the type of.

Alternatively, if you're working directly in java, you can use the getType() method on any IMendixObject which will return the same module.entity name as a string (in fact, this is what the getTypeAsString action is doing behind the scenes!).

 

answered
0

Download the Mx Model reflection module from the appstore. This will store your model as data.

answered