GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

exportDashboardToPdf()

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

IWorkspaceDashboardsService.exportDashboardToPdf() 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 pdf. You can override dashboard filters with custom filters. When no custom filters are set, the persisted dashboard filters will be used.

PDF file is downloaded and attached as Blob data to the current window instance.

Signature:

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

Parameters

ParameterTypeDescription
refObjRefdashboard reference
filtersFilterContextItem[](Optional) Override stored dashboard filters with custom filters

Returns:

Promise<IExportResult>

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

  • IWorkspaceDashboardsService.exportDashboardToPdf() 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