Globally accessible JS object

Is it possible to define a javascript object in the client which is globally accessible in the solution?

Lets say I want to define JSON object on app load that I can use in multiple javascript functions, not just locally within one. Do I have any other alternatives than using an appfarm runtime object, or storing the JSON as a string and parse it when needed?

Assign it to window?

// Erik

1 Like