Class: DashboardExportService
Defined in: server/insights/services/dashboard-export-service.ts:56
READ-ONLY dashboard PDF export. Resolves the code-defined dashboard, runs each tile sequentially under the caller's server-derived organization, then renders a landscape snapshot through the existing reports PDF renderer.
Constructors
Constructor
new DashboardExportService(deps: DashboardExportServiceDeps): DashboardExportService;Defined in: server/insights/services/dashboard-export-service.ts:57
Parameters
| Parameter | Type |
|---|---|
deps | DashboardExportServiceDeps |
Returns
DashboardExportService
Methods
exportDashboard()
exportDashboard(dashboardKey: string, ctx: DashboardExportContext): Promise<ExportFile>;Defined in: server/insights/services/dashboard-export-service.ts:59
Parameters
| Parameter | Type |
|---|---|
dashboardKey | string |
ctx | DashboardExportContext |
Returns
Promise<ExportFile>