page:ready.
This event tells you that the page can receive events, not that the page has finished loading.
Omni keeps the events that you send between page:ready and the end of the page load. When the page finishes loading, Omni handles these events in the order that you sent them.
Add your event listener before the iframe starts to load. If the listener is added later, your application can miss the
page:ready event.Payload
Properties
string
The fully qualified URL of the page that emitted the event, e.g.,
https://blobsrus.embed-omniapp.co/dashboards/123abc?f--users.state=California.string
The path of the URL (e.g.,
/dashboards/123abc).Behavior
- Dashboard filters - Omni keeps a
dashboard:set-filtersordashboard:filter-change-by-url-parameterevent until the dashboard on the page is ready. Omni discards the event if the page isn’t a dashboard, or if the page changes before the dashboard is ready. - Fullscreen - Omni doesn’t keep
fullscreen:setevents that you send while the page loads. - Embed login page - Omni doesn’t emit
page:readyfrom the embed login page. Omni emits the event from the content page that loads after login.
Example
Next steps
- To apply filters each time a dashboard loads, use the
dashboard:readyevent - See the events that you can send to Omni

