Skip to main content

How do Get/Set App Data Work for Application and Global Storage?

Comments

2 comments

  • Ken Lyon

    In the TypeScript version of Workflow, the “global” and “application” visibility options both write the data to local storage. The only difference is that the name used to save it varies slightly between the two.

    However, I see that VertiGIS Studio Web overrides the behaviour of Get/Set/Remove Application Data so it may operate differently there. If you're using Web, this question might be better moved to the Web community.

    If you're using Experience Builder, it behaves as I described at the start.

    1
  • Amanda Frech

    I can't reproduce the issue you mentioned. Here's a test I had handy already (from a bug we worked on around Web 5.36) that checks all the visibility levels. If it works the same for you as it does on my end, it should demonstrate the difference between the levels:

    Also, here's where you can find the storage for the “application” and “global” level data in your browser:

    Firefox:

    Chrome:

    The same storage seems to get used regardless of whether you're signed in to the app or not (ie. it doesn't use the “user preferences” Portal item). And the main difference between levels is that the application-level data includes the app ID in the key.

    1

Please sign in to leave a comment.