Skip to main content
Tanner Thomsen ๋‹˜์ด #Tableau APIs & Embedding์— ์งˆ๋ฌธํ–ˆ์Šต๋‹ˆ๋‹ค

Hi!

 

I used to have a Windows Batch File that used Tabcmd to pull pdfs from a workbook. All of the pdfs came out full page, all the way to the margins. With the MFA, I have switched to TSC (populate_pdf()) and token authentication to pull all the pdfs. However, the dashboards do not fill the entire page.

 

Using the API Reference page, there is only "page_type", "orientation", and "maxage", but regardless of the page type that I set I can't get the pdf to come out full page. Is there any way to feed in exact dimensions desired?

 

For Tabcmd my inputs were "--full pdf --pagesize unspecified". For TSC, I am inputting "orientation = "landscape"". I have tried different page types with no success.

 

Any help would be much appreciated! ๐Ÿ˜Š

๋‹ต๋ณ€ 1๊ฐœ
  1. 2023๋…„ 9์›” 1์ผ ์˜คํ›„ 7:05

    Nevermind. The API reference says nothing about passing "page_type = "unspecified"" into the pdf request options, but that solved it and now it is auto-filling the entire page. Nevermind. The API reference says nothing about passing

0/9000