GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.1.0
  • Code samples
  • GitHub

exportDashboardToImage()

Home > @gooddata/sdk-backend-spi > IWorkspaceDashboardsService > exportDashboardToImage

IWorkspaceDashboardsService.exportDashboardToImage() method

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Export dashboard to png.

PNG file is downloaded and attached as Blob data to the current window instance. If title is not provided, the dashboard title will be fetched.

Signature:

exportDashboardToImage(ref: ObjRef, filters?: FilterContextItem[], options?: IDashboardExportImageOptions): Promise<IExportResult>;

Parameters

Parameter

Type

Description

ref

ObjRef

dashboard reference

filters

FilterContextItem[]

(Optional) Override stored dashboard filters with custom filters

options

IDashboardExportImageOptions

(Optional) export options

Returns:

Promise<IExportResult>

promise with object URL pointing to a Blob data of downloaded exported dashboard

  • IWorkspaceDashboardsService.exportDashboardToImage() method
  • Parameters
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use