Hi i have some troubles using localstorage with a table
example i got this gui
when i click Add line button i fire this
to save values in localstorage then they should be shown on table
that have this value, but is not working, im getting empty table , what could be the issue?
the idea is when add line is clicked, a new row shows in table with product info
thank you
ugo.ago
2
Hello agaitan026,
The code within the value field would not work.
The value field would only accept expressions within a {{ }}.
You need a JS query resource to run this.
You can then add a success handler here which sets the value in the localStorage
I have attached a demo app of this
Here is Documentation on how to set values within the localStorage
LocalStorage-20Demo.json
1 Like