Expand Tables in PDF - API

Knowledge Drop

Last tested: Jul 20, 2020
 

We have the pdf_paper_size option for the render_task() endpoint, so where's the Expand Tables option, like in the UI?

There isn't one. Pendo feature request here.

Workaround

Use anything from the ScheduledPlan set of endpoints. Instead of downloading, we are creating a schedule of the dashboard to deliver this as a PDF. We can use the create_scheduled_plan() endpoint, since this gives us the long_tables option.

"long_tables": true

This should give us the same behavior as expanding tables in the UI. For one-off downloads, we should be able to use scheduled_plan_run_once() for this.

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 01:54 PM
Updated by: