Add Multiple Records into local storage

How can I add Multple Static Records Into Local Storage.


I have 20 Static Records values never changes, I want to store all records into local storage. I dont want to use database for storage. is it possible?


Any Pointers Please...


Thanks In Advance,

Ramesh

Ramesh Kothapalli wrote:

How can I add Multple Static Records Into Local Storage.


I have 20 Static Records values never changes, I want to store all records into local storage. I dont want to use database for storage. is it possible?


Any Pointers Please...


Thanks In Advance,

Ramesh

You can use Static Entity for the same, Instead of adding them in LocalStorage.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Data_Modeling/Static_Entities

Hello Ramesh,

You can use Local storage to store this data.
But there is no "static entity" client side, only server side, so your application will have to use a normal entity.

Being in Mobile, you don't have the bootstrap option.

So, if you don't want to use the server database at all, that would allow you to synchronize this local entity with data from a static entity from the server, you probably will have to create a client action that you call every time your application starts, check if there is data on your local entity and if not, creates the records.

Don't know if there is any other (better) approach.

Cheers.