Skip to main content
Emitted by Omni when an embedded dashboard loads and again whenever its control configuration changes. The payload lists every control on the dashboard — including controls with no URL value — so your page can build its own control UI or save the state for later. The event reports the dashboard’s current control selection, as resolved from the URL. On a dashboard that doesn’t run automatically, the selection can be ahead of the tiles until the user clicks Run. Viewer-added filters are carried by the dashboard:filters event instead.

Payload

Properties

object
Control object keyed by the control’s ID.

Replaying control state

Each entry’s asUrlSearchParam is the c-- search parameter that reproduces the control’s value. To save a view, join the non-null parameter; to restore it, pass them back when you generate the embed URL — for example through the SDK’s filterSearchParam property — or append them to a dashboard URL. A child control that follows a parent control has a null parameter on purpose. In this case, the parent’s own parameter reproduces it, and an explicit child parameter wins over the parent on replay, which would stop the child from following later parent changes.

Example