Get a list of attribute names from an entity

0
Hi all, I'd like to retrieve a list of the attribute names in an entity. Is this possible with a function? Or do I have to create a new entity containing the names of the attributes used in the entity for which I want to acquire the list? Thank you for your help.
asked
2 answers
0

You can use the Mx Model reflection module https://appstore.home.mendix.com/link/app/69/ 😎

answered
0

If you want to use the attribute names in a microflow, see Pim's solution with ModelReflection. If you want to have them in Java, you should check out the API docs. There you will find a getMembers(IContext context)  function on IMendixObject.

answered