Knowledge Drop

Expand Tables in PDF - API

  • 7 July 2021
  • 0 replies
  • 36 views

Userlevel 4

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.                

 

 


0 replies

Be the first to reply!

Reply