tableau / server-client-python

A Python library for the Tableau Server REST API
https://tableau.github.io/server-client-python/
MIT License
655 stars 420 forks source link

View filters for PDF request options are not working #643

Open vignesh1609 opened 4 years ago

vignesh1609 commented 4 years ago

I am getting pdf with filters which is applied during publishing.

It would be good if you guide me to apply multiple filters

pdf_req_option = TSC.PDFRequestOptions(page_type=TSC.PDFRequestOptions.PageType.A4,orientation=TSC.PDFRequestOptions.Orientation.Landscape)
pdf_req_option.vf("P_Unit","ABCD")
server.workbooks.populate_pdf(workbook,options)
chitra1306 commented 2 years ago

Hi Vignesh, Did you get any answer or way to do get the pdfs using TSC.

septatrix commented 1 year ago

They do not seem to be supported by the respective API endpoint at all but only the "Query View PDF" endpoint. For some reason however they share the same options object which does not properly fit either of them. Also see #1102