Open septatrix opened 2 years ago
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)
Summary
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."