Skip to main content

Integrations & Events

Overview

OmniSpatial has the ability to add integrations and communicate to/from those integrations. This is accomplished by relaying messages from any parent/child iframe onto the native Omni event observables. Similarly, all native Omni event observables will be published out to any parent/child iframes.

Concept

When events posted from an iframe, they are forwarded to other iframes (not the originating iframe) as well as to Omni. When events are posted from Omni, they are forwarded to all other iframes.

Concept

Omni Events

When Omni triggers an application event, that event is turned into a post message and forwarded onto all iframes (parent or child).

Omni Events

iFrame Events

When an iframe (parent or child) posts a message, the IntegrationEventForwardingService will relay the message onto other iframes as well as onto the Omni application events.

iFrame Events

Omni Post Messages

When a post message event is created directly from within Omni, that message is converted to an application event and is forwarded onto any parent/child iframes.

Omni Post Messages