Mendix database identifiers

0
Hi - fairly new to using Mendix platform and bumped into a small issue. I created my own entity in the domain model and I am able to do the CRUD operations through the user interface. Now I would like to import some real data into the database directly. The issue is that it seems the Mendix identifier (called id) has to contain values that are referred or used somewhere in the metamodel. Can somebody tell me what the correct way to populate the database with data is (where else do I need to publish the identifiers)? I am looking to use direct SQL statements, not using an SDK (that Mendix might provide)...
asked
2 answers
0

this is not recommended due to the identifiers.

You can use appstore modules like :

  • Excel importer
  • Database replication

 

To insert data in your application.

answered
0

Indeed it is not recommended, but if needed can be done. I did it once as well directly. My answer on this question:

https://forum.mendix.com/link/questions/87488

Can help you get the insight on how to generate the mendix IDs for the specific entities.

answered