Widget Default Context

The term default context applies to a widget in two different cases:

During widget creation: When the widget template is being edited in Widget editor, new bindings are created to bind widget components with data from contexts. When a new widget is created or edited, context paths in newly created bindings which refer to contexts below the default context are constructed relatively to the default context.

During widget execution: The default context is also defined during widget execution. This is the context from which the Launch Widget action was launched. This default context is used to resolve relative references during widget execution. {.deviceservers:children#records} - this is a ref resolving to number of user's DS if widget is created for user context. It uses context path relative to default context.

The widget normally gets data from its default context, but may exchange data with any other Iotellect Server contexts.

See widget bindings for more information.

Note: default context for any absolute widget is a root context of Iotellect Server context tree.

Was this page helpful?