Create Runtime Entity in mendix

0
I want to create Runtime entity,means i will not create entity in domain model manually.based on some condition i want to create entity dynamically in domain model.so is it possible in mendix?
asked
3 answers
1

You can do that in a Java action

answered
0

No, Mendix is statically typed. Meaning you have to define entities it in your development environment.
Alternatively you could create a more abstract data model with an Object and Attribute entity.
This however would introduce a considerable amount of overhead when processing them.
Is there a specific reason you want to define them in runtime?

answered
0

What is the use case for this?

Using the model SDK you could create a domain model.

Though it wouldn’t make sense if you want a user to create an entity and consume it in the same application.

Because database, pages, logic  and pretty much everything is tied to it as well.

answered