Have IMetaObject.getMetaPrimitives() return members in the same order as in the domain model - Mendix Forum

Have IMetaObject.getMetaPrimitives() return members in the same order as in the domain model

3

The Java function

IMetaObject.getMetaPrimitives()

currently seems to return the entity members in a different order than they are in the domain model.

It would be helpful, if they were returned in the exact same order.

 

Use Case:

We built a Java action that generates an Excel import template from an entity by turning every attribute into an imported column. Since the entity members are currently returned out-of-order, we had to add a column number as a prefix to every attribute name.

Example: _05_Description 

 

https://apidocs.rnd.mendix.com/8/runtime/com/mendix/systemwideinterfaces/core/meta/IMetaObject.html#getMetaPrimitives()

asked
0 answers