local-databasemendix

Delete the database from Mendix apps


I would like to know how I can delete the local database of my Mendix programm.

The background story is that i am calling a webservice to write data to an attribute. So every time the user presses a button, the webservice writes data to the attribute. That leads to many entries with the same value. I already fixed the problem with a validation check but I can't get rid of the entries.

Does somebody know how to delete those?


Solution

  • If you want to get rid of the existing entries, you can always create a microflow that does retrieves all of them from the database and deletes them. You can create an admin section with a button to run this microflow (if you only need to do this once) or create a scheduled event that runs the microflow (say every day).