How to reduce redundancy in Domain Model(Repetition of attributes)

0
i’m using these 3 entity, attribute is getting repeated , How to solve this problem, How to create Domain model in which this attribute is not getting repeated , and also how to create pages for this 3 entity with common attribute(whether to use data view or datagrid and how to use it)
asked
2 answers
3

Hi,

 

You can create a entity with most of the common attributes used within those three entities and keep that as parent one
Then create three sub entities with remaining attributes from parent and make those entities as Generalized one

If you create an object for sub entity then it will automatically create an parent object with entities

Entity(Parent)

Mendix projects (Sub)
Power BI projects(Sub)
General Projects(Sub)

answered
1

Exactly what Menagapriya wrote. Generalizations are documented in https://docs.mendix.com/apidocs-mxsdk/mxsdk/domain-model-metamodel#3-generalization-relationships

answered