Skip to Content

Root Scope

The root scope is a globally accessible object for storing and sharing state across your application - outside of any collection.

setRootScope(rootScopeProperty, rootScopeValue)

Set a value on the root scope.

ARM.setRootScope('fullName', 'John Doe')

getRootScope(rootScopeProperty)

Retrieve a value from the root scope.

ARM.getRootScope('fullName') // 'John Doe'
Last updated on