exportSlidesInsightWidget()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Creates the ExportSlidesInsightWidget command. Dispatching this command will result in exporting of the widget to a slides type (pdf, pptx).
export declare function exportSlidesInsightWidget(ref: ObjRef, filename: string, exportType: "pdf" | "pptx", correlationId?: string, templateId?: string): IExportSlidesInsightWidget;
Parameters
Parameter | Type | Description |
|---|---|---|
ref | reference to the Insight to export | |
filename | string | filename of the exported file |
exportType | “pdf” | “pptx” | type of export to perform |
correlationId | string | (Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
templateId | string | (Optional) identifier of the export template to use |
Returns