Upcoming
๐ Embed events: Control embedded dashboards with JavaScript
new feature
Embed Events lets you control embedded Holistics dashboards from your application using JavaScript. Send commands, listen for user interactions, and keep your app and dashboard in sync โ all through the browser's standard postMessage API.
Previously, embedded dashboards were one-directional โ your app could configure the embed at load time but couldn't respond to user interactions or send commands afterwards. With Embed Events you can:
- Sync filters โ push filter values from your app into the dashboard, or listen for user filter changes and reflect them in your app
- Navigate dashboards โ build a custom tab switcher or menu that controls the iframe without a full reload
- React to errors โ detect
embed_errorevents and auto-refresh an expired JWT to keep the session alive
Learn more: App & Embed Communication