Page tree
Skip to end of metadata
Go to start of metadata

For tighter integration of embedded dashboards, GoodData provides several events, methods, and embedding parameters that you can use for interaction with the parent application.

  • Embedding parameters allow you to customize how the dashboard is embedded, such as the dashboard or dashboard tab to display.
  • Events allow you to notify the parent application about internal dashboard events, such as exporting or link clicks.
  • Methods let the parent application control the dashboard, such as initiating a print operation.

Both events and methods are provided via the window.postMessage mechanism. All messages are in the stringified JSON format. For more information, see https://html.spec.whatwg.org/.

The parent application can mean either of the following:

  • window.parent of the frame, in which the dashboard is embedded
  • window.opener in case the dashboard has been opened in a new window

Contents: