Search code examples
maximo-anywhere

offline/localstorage in maximo anywhere


How does offline storage/local storage work in maximo anywhere-work execution app. Please explain with sample. localstorage set/get methods are used but how is data storage happening in device .Does it store in some device database?


Solution

  • We use the Mobilefirst Json store which is a local SQLite database. If you look in the JavaScript for ModelService.save that's where we save to the store. And ModelService.all is where we read from the store