You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Type 2] Autoscaling PDF export of Workbooks/Views #1103
A autoscaling PDF export endpoint (or parameter for the existing methods) which works equivalent to the PDF export from the WebUI.
Description
The PDF export from the WebUI feels a lot more powerful. One simply selects the page size/layout and it automatically scales the dashboard/view to fit the page.
This might be a great fit for the "new RESTful endpoints" (/api/-/) which states that "The new endpoints will call the same code that clicking the corresponding UI element calls, not always the case for classic APIs.". However there does not seem to be much added to that API so I am not sure if it is even developed further even though it claims that "teams will be able to produce more consistent endpoints at a faster pace."
Also very much welcome would be an option to change/remove any margins. For printing these might be important but often the users simply look at the generated PDFs on their desktop.
PS: A temporary solution might be to documente the maximum vizWidth and vizHeight for each page size such that these can be set manually. This would however not work for the "Download Workbook PDF" but only for the "Query View PDF" endpoint as the former does not allow setting sizes (could also be made into a feature request)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
Activity
septatrix commentedon Sep 8, 2022
Also very much welcome would be an option to change/remove any margins. For printing these might be important but often the users simply look at the generated PDFs on their desktop.
PS: A temporary solution might be to documente the maximum vizWidth and vizHeight for each page size such that these can be set manually. This would however not work for the "Download Workbook PDF" but only for the "Query View PDF" endpoint as the former does not allow setting sizes (could also be made into a feature request)
github-actions commentedon Aug 18, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
septatrix commentedon Aug 23, 2026
Probably needs checking if this is still reproducible