Skip to main content
7-Bedrock
December 10, 2024
Question

Enhancement Request: Save and recover runtime values in offline mode

  • December 10, 2024
  • 1 reply
  • 468 views

Dear all

 

Currently, when View app is closed or crashed, any runtime values such as user inputs, local variables will be lost, so if the user was working on something, the progress will be lost and the user has to start it all over again.

 

To prevent that, we can use ThingWorx to save those values, and recover when needed.
However, some of my customers' use cases requires to be operated in offline environment, thus it's unable to connect to ThingWorx.

Therefore it would be great if we have another way to save runtime value which works in offline environment.

1 reply

21-Topaz I
December 12, 2024

Hi @Shinichiro_Endo ,

possibly you can use the window.localStorage for that purpose. Please, refer to the communty post "How do I save a text file and picture to local drive on device?"

Thanks, BR