Binding Expression

The binding expression is written in Iotellect Expression Language. This means it may include references which will be resolved when the expression is evaluated.

Binding Expression Resolution Environment:

Default Context

For relative models, dashboards, and other resources: a context that a relative resource attached to. For absolute models, dashboards, and other resources: resource’s own context. For instantiable models: model’s instance context.

Default Data Table

Widget input parameters table for a widget binding expression. None for a model or dashboard binding expression.

Default Row

0

Environment Variables

Standard variables only.

If the binding was activated by an event, the following event properties can also be accessed via environment:

Variable Name

Value Type

Description

id

Long

Unique ID of the event.

context

String

Full path to the event's context.

event

String

Name of the event.

level

Integer

Event level.

time

Date

Event timestamp.

acknowledgements

Data Table

Event acknowledgements table.

enrichments

Data Table

Event enrichments table.

value

Data Table

Data Table containing event-specific data.

Widget binding expression of a widget running inside Iotellect Client or Web UI can access the following variables:

Variable Name

Value Type

Description

location

Data Table

Widget Window Location

dashboard

Data Table

Widget Dashboard Properties

References

Binding expressions in context bindings may include references that point to context variables, functions, and their fields or properties.

More information about standard reference format and resolving algorithm may be found in the Standard References section.

Server Binding Expression Example

"User: " + {users.admin:childInfo$firstname}

This expression includes a reference (enclosed in curly brackets), and evaluates to a string which results from concatenating the "User: " string literal and the string which is contained within the firstname field in the childInfo variable of the admin user's context (the path of this context is users.admin). If the Administrator's first name is Charlie, this expression will evaluate to User: Charlie.

Was this page helpful?