Embed Cross-Visual Link Publish and Subscribe Settings Using JavaScript

This applies to: Visual Data Discovery

Cross-visual link publish and subscribe settings for a dashboard can be specified for embedded dashboards using JavaScript. Two JavaScript methods are provided: publish and subscribe. After embed.js is run (see Embed Symphony Components Using JavaScript and Trusted Access), these methods become available for use with the global Zoomdata object on window.

Cross-visual links (channels) are used primarily for cross-visual filtering. Visuals can publish cross-visual filters for cross-visual links. Other visuals can listen (subscribe) to the links and apply them when a cross-visual filter is specified.

Prerequisites

Embedding applications should listen for the composer-dashboard-loaded event on the first embedded dashboard before calling these methods. See Embedded Events.

See the following topics: