How to loop over the attributes of an entity (not the records but the attributes in specific)?

0
How to loop over the attributes of an entity (not the records but the attributes in specific)?
asked
3 answers
0

1. Sync Your Domain ModelUse MXModelReflection to synchronize your domain model with the system.

2. Generate Reflection ObjectsMendix will automatically create reflection objects for every attribute of each entity in your domain model.

3. Create a MicroflowBuild a microflow to access these reflection objects.

4. Retrieve Reflection ObjectsIn the microflow, get the reflection object for your desired entity.

5. Loop Through AttributesLoop through the attributes in the reflection object to work with them as needed.

answered
0

You can use MxModelReflection to sync up your domain model. Once that's done, Mendix will create reflection objects for each attribute of every entity.

 

After that, you can create a microflow, grab the reflection objects for your entity, and loop through them to access the attributes.

 

If you have any more questions or need further help, just let me know! 

answered
0

For detailed information, you may refer to this link: Mendix Community - Question Details  or consult Maia, whose responses are particularly comprehensive.

answered