Widgets contexts

Every widget can expose some functionalities and some data from its current state into a context. This context can be accessed using Menus and toolbars or Dynamic evaluation and, depending on how you access it, you are given access to a limited scope of the full widget context.

In addition to these widgets contexts, a global context, named osp, allows you to access any widgets present in the current dashboard. This global context contains the following operations:

  • osp.widgets(id): to access any widget available in current dashboard using widget id. This will allow access to widget exposed features.

  • osp.navigate(path) to navigate to any dashboard see Navigation from widget context

  • osp.evaluate(code): to allow menu code interaction evaluation (see dynamic evaluation)

List of supported widgets

Widget

Support

Link to widget documentation

Alarm Table

Supported feature

See Widget context

Alarm Severity

Not supported feature

See note

Analytics Aggregate

Not supported feature

See note

Basic Input Output Value

Not supported feature

See note

Chart

Not supported feature

See note

Collection Table

Supported feature

See Widget context

Discovery

Not supported feature

See note

Form

Not supported feature

See note

Gauge

Not supported feature

See note

Icon

Not supported feature

See note

JSON

Supported feature

See Widget context

Journal

Not supported feature

See note

Limit

Not supported feature

See note

Map

Supported feature

See map widget context

Markdown

Not supported feature

See note

Navigation

Not supported feature

See note

Object browser

Not supported feature

See note

PDF Viewer

Supported feature

See Widget context

Ptz Controller

Not supported feature

See note

Range

Not supported feature

See note

Refresh

Not supported feature

See note

Reports List

Supported feature

See Widget context

Reports Viewer

Not supported feature

See note

Schematic

Not supported feature

See note

Select

Not supported feature

See note

Submit

Not supported feature

See note

Text

Not supported feature

See note

Toolbar

Not supported feature

See note

Value

Not supported feature

See note

Value Subscription

Not supported feature

See note

Video Player

Not supported feature

See note

Web View

Supported feature

See Widget context

Note

Not every widget currently support this feature. In case of interest please contact us at info@sdn.ch