PDF Exports from Embedded Dashboards

I have a quicksight dashboard that I have embedded using Registered User API into my web application.

My dashboard has multiple sheets and I need to enable the export to PDF option for the dashboard.

The export to PDF option should export the PDF exactly as it does in Quicksight Dashboards.

My application is built in .NET MVC

Thanks

Hello Khushi,

To enable the export to PDF option for your embedded QuickSight dashboard, you need to specifically enable the ‘export’ feature in your embedding configuration. When embedding a dashboard using the RegisteredUser API, you can add the ‘export’ option under toolbarOptions in the embedding SDK. Refer here

This option is disabled by default, so you must explicitly enable it.
The implementation would look similar to this in your embedding code:

const options = { 
url: embedUrl, 
container: containerDiv, 
height: "height", 
width: "width", 
toolbarOptions: { 
export: true 
} 
}; 

Once implemented, users will see the export option in the toolbar of your embedded dashboard, allowing them to download the current sheet as a PDF. Refer here

The PDF export provides a snapshot of the dashboard sheet as it appears on-screen at the time of download.

Hope this helps.
Cheers,
Deep