Export Your Analytic Application to PDF
You can let application users export an analytic application to a PDF file at application runtime.
Context
Only visible contents in your application can be exported to PDF. Therefore, the following invisible elements won't be exported:
-
invisible part in scrollable charts, tables or containers including tab strips, panels, flow layout panels and page books
-
collapsed table cells
-
lazy rendered widgets
-
lazy loaded data source
-
comments on invisible data cells
Besides these invisible elements, web page widgets won’t be exported.
For R visualizations, static plots will be exported. However, R visualizations written in RHTML (iFrame) are not fully supported, for example, the ones with pictures from external sources.
Widgets might not keep all CSS styling settings when exported to PDF, for example, text decoration and opacity.
Custom widgets support PDF export now. However, to make sure that all the defined elements can be exported to PDF, custom widget developers need to be aware of the export restrictions and test first and then set supportsExport to true in the custom widget JSON file.
If your image's hyperlink is an external URL, you can add a parameter to it to ensure that certified users can export this image to PDF.
Parameter | Options |
---|---|
imageCrossOrigin Controls users’ access to the hyperlink of the image to be exported to PDF. By default users are anonymous to the URL if you don’t add this parameter. |
|