New: Global Namespace

As a developer, there are some scenarios where you want to write common code that can be accessed and reused across different scripts. The new global object provides a common namespace to store common functions that can be accessed from any script within an application.

For example, if you wanted to define shared constants or functions that could be accessed by any script, in the applicationOpen script you could add the following:

global.myConstant = 123

global.myFunction = function(text){
  // function code
}