Add record to table in local storage

Add record to table in local storage

  

Hi,

I have a login screen  that retrieves a record from a Server table (the record has 5 fields), I want to to clone that record in my "CurrentUser" table (in the local storage) that has the same fields.

Can anybody advice on how to do this?

Thanks,

Gonzalo

Solution

Hi Gonzalo,

Local storage entities are manipulated in the same way as server entities. So you'll have to use the Create action for the CurrentUser entity and pass the information from the server record.

Check out more about local storage here: https://success.outsystems.com/Documentation/10/Developing_an_Application/Use_Data/Using_Local_Storage

Solution