How to view created objects of a Domain Model inside Studio Pro?

0
So I can list view the objects of say the User Entity when my app is running, cool. But how can I view them inside studio pro itself, without running the app? Is this possible? I figure it must be as if I stop running the program and start it up again, the objects I created reappear in the list view, so they must be stored (but maybe not visible?) somewhere.    If this is possible, can I also use an admin panel here to delete or create entries?  I'm using the Built-in database option. Thank you!! Also I'm on 10.4 but the option to choose that doesn't seem to exist, so I put it at 10.3.1. 
asked
3 answers
1

Hi Raphael,

 

You can use the built in database viewer to view the tables of you database.

 

It is possible but not recommended to edit your tables outside of the mendix runtime as it can lead to data corruption in your database.

 

Hope this helps with your question!

answered
1

Hi Raphael,

 

Hope you are doing well.

 

In Mendix, for a persistable entity a table will be created via DDL commands which will run at the very first time you run your code ,if the the database other then build-in HSQL database you can query your database directly for the System.User table , and list down all the existing users within your application.

 

But within Mendix modeler you cannot view users list without running your server or when the app is not running locally.

Thanks ,kindly respond for any further clarification.

Regards,

Amrish Kumar

answered
1

Hi, 

 

You can access the built in database while your app is running.

If you're using the built-in database the modeler has an option in the console screen under the advanced menu called Start built-in database viewer. With this viewer you can access the database.

 

Here's a documentation for it: 

https://docs.mendix.com/howto/data-models/sharing-the-development-database/

answered