156
Views
5
Comments
Solved
[Mobile] Delete all application data
Question

I'm trying ti implement a feature to delete all the data from the Mobile App we are developing in a specific moment. The point is to erase all the lines from all the tables, without using an action to delete each table individually, because more tables may be added in a near future. Is there any way to delete all the database without an action explicitly calling all deletes one by one?

UserImage.jpg
Waldir Vigário
Solution

assif_tiger wrote:

Waldir Vigário wrote:

I'm trying ti implement a feature to delete all the data from the Mobile App we are developing in a specific moment. The point is to erase all the lines from all the tables, without using an action to delete each table individually, because more tables may be added in a near future. Is there any way to delete all the database without an action explicitly calling all deletes one by one?

Hi Waldir Vigario,

plz vote for the same idea :

https://www.outsystems.com/ideas/6210/master-clear-action-to-clear-all-local-entities-on-mobile-local-storage


Hi again Tiger, since i didnt get a solucion i create a component based on JS and nativePlugin to resolve the problem. if you still searching for a solucion please try it and give a feedback.

https://www.outsystems.com/forge/component-overview/7313/clearlocaldata

Thanks



2026-02-26 06-29-24
Rahul
 
MVP

Hi Waldir,


For this you can create a timer and run a specific time on a daily basis or weekly or monthly wise.

and use "Ossys_Entity" table to get table name which are using in Current app.

find them and delete data from this.


Thanks

Rahul Sahu

UserImage.jpg
Waldir Vigário

Rahul Sahu wrote:

Hi, 

The "Ossys_Entity" only map the server entitys. What i need is to delete local entitys.

Hi Waldir,


For this you can create a timer and run a specific time on a daily basis or weekly or monthly wise.

and use "Ossys_Entity" table to get table name which are using in Current app.

find them and delete data from this.


Thanks

Rahul Sahu



2021-04-09 11-42-43
assif_tiger
 
MVP

Waldir Vigário wrote:

I'm trying ti implement a feature to delete all the data from the Mobile App we are developing in a specific moment. The point is to erase all the lines from all the tables, without using an action to delete each table individually, because more tables may be added in a near future. Is there any way to delete all the database without an action explicitly calling all deletes one by one?

Hi Waldir Vigario,

plz vote for the same idea :

https://www.outsystems.com/ideas/6210/master-clear-action-to-clear-all-local-entities-on-mobile-local-storage


UserImage.jpg
Waldir Vigário

assif_tiger wrote:

Waldir Vigário wrote:

I'm trying ti implement a feature to delete all the data from the Mobile App we are developing in a specific moment. The point is to erase all the lines from all the tables, without using an action to delete each table individually, because more tables may be added in a near future. Is there any way to delete all the database without an action explicitly calling all deletes one by one?

Hi Waldir Vigario,

plz vote for the same idea :

https://www.outsystems.com/ideas/6210/master-clear-action-to-clear-all-local-entities-on-mobile-local-storage



You have my vote.

UserImage.jpg
Waldir Vigário
Solution

assif_tiger wrote:

Waldir Vigário wrote:

I'm trying ti implement a feature to delete all the data from the Mobile App we are developing in a specific moment. The point is to erase all the lines from all the tables, without using an action to delete each table individually, because more tables may be added in a near future. Is there any way to delete all the database without an action explicitly calling all deletes one by one?

Hi Waldir Vigario,

plz vote for the same idea :

https://www.outsystems.com/ideas/6210/master-clear-action-to-clear-all-local-entities-on-mobile-local-storage


Hi again Tiger, since i didnt get a solucion i create a component based on JS and nativePlugin to resolve the problem. if you still searching for a solucion please try it and give a feedback.

https://www.outsystems.com/forge/component-overview/7313/clearlocaldata

Thanks



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.