How to remove only specific data from local database in native mobile and not from server database?

We have built an application whose data keeps growing. And over time a lot of data will be stored in the database and the mobile application database cannot store it all. How to remove older data or unnecessary data only so that it is removed from local and is retained in the server database.
1 answers

In Mx 9 the only way to remove data from the local database is to use 'Synchronize everything' .  If the Sync Config is set to 'Nothing (Clear data)', the data will be removed from the device.  However, the Sync Config is not applied for 'Synchronize selected' or 'Synchronize unsynced', so if you use these, the objects will remain on the local database.

In Mx 10 a new function is introduced, 'Clear from Device'

This will allow you to clear data locally withut deleting the objects from the server database. (Note it only works at the entity level - you cannot select to clear some objects and not others).