If you know the URL of the workbook / view as it exists when published to your Server, perhaps you could create a URL action that loads the specific sheet (either within an embedded webpage or as an external browser link) with an additional URL parameter :format=pdf.
For example, here's how to get a PDF from a recent Tableau Public viz by Ryan Sleeper:
This may become challenging to maintain as you add or rename sheets or publish multiple versions of the workbook.
I hope this helps,
Thanks for teaching me how to fish Robert! This is much better than what I was having my users do. I'm now down to 3 clicks to print a nicely formatted report, and I might even be able to cut one more click out of the mix.
URL actions kick ****!
Glad to help! If you find any other tricks along the way, I'd love to hear about them in this thread.
Any chance the URL parameters to bring up the view in a PDF format can also specify the default PDF orientation? I have a view that is optimized for letter landscape (1100x850), but the format=pdf option above defaults the PDF orientation to portrait; so there is a smaller scaled PDF printing in portrait. If I print from the browser and switch the orientation in the driver to landscape, the PDF prints in landscape, but retains the smaller scale found in the default portrait mode.
I was hoping there might be another URL parameter such as pdforientation=landscape that could be used. Better still would be to set the default orientation based on the defined width and height of the dashboard (if defined).
Did you ever figure this out? I would like to do the exact same thing!
Joshua, Andy, did you find out how to specify PDF orientation?