Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View filters for PDF request options are not working #643

Open
vignesh1609 opened this issue Jul 8, 2020 · 3 comments
Open

View filters for PDF request options are not working #643

vignesh1609 opened this issue Jul 8, 2020 · 3 comments
Labels
help wanted A user needs help, may be a mistake, a bug or a feature request

Comments

@vignesh1609
Copy link

vignesh1609 commented Jul 8, 2020

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)
@vignesh1609 vignesh1609 changed the title _1","123") server.workbooks.populate_pdf(workbook,options) View filters for pdf requestoption are not working 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) Jul 8, 2020
@bcantoni bcantoni changed the title View filters for pdf requestoption are not working 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) View filters for PDF request options are not working Aug 17, 2020
@illonage illonage added the help wanted A user needs help, may be a mistake, a bug or a feature request label Jan 4, 2022
@chitra1306
Copy link

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

@septatrix
Copy link

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

@bcantoni
Copy link
Contributor

Keeping this one open so we can investigate to see if any code/doc changes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted A user needs help, may be a mistake, a bug or a feature request
Projects
None yet
Development

No branches or pull requests

5 participants