Thanks for the reply.
But my requirement is to generate multiple PDFs(anywhere from 1 to maybe 25) depending on the filter values, zip them all into a single zip file and shown the zip file to the user to download it.
Can we do this from Tableau, is there an option to create a batch of PDFs (or) should we do this from a custom UI/backend Java application and if so how can we accomplish it.
have you looked at the possibility of writing a script that leverages tabcmd export and passing in the applicable filters as parameters? If you build this into a loop, then you should be able to export to PDF.
tabcmd export utility is only supported in windows operating system. My application is hosted on linux and we would like to get the PDFs generated in realtime based on an action by the user in the browser.
Can we invoke this tabcmd export utility from an application like java and return the generated PDFs back to the user's browser?
Yep, tabcmd export is mostly a batch script utility, though conceivably I'm guessing it could be called from Java, I just haven't done it.
there are multiple ways:
- even if it is not supported, tabcmd works on Linux
- you can log with trusted auth and then bootstrap the viz and create the PDF (or just use .pdf view extension)
- log on with REST API and then download the PDF