Jump to content

Programmatically Downloading PDFs in Spotfire


Recommended Posts

I am trying to manage the generation of PDFs programmatically within a Spotfire dashboard. It works easily when using the “Export to PDF” option via an action command in a Text Area. However, in my case, I need to generate multiple PDFs with various filter settings.

Using Ironpython, I can generate a PDF and save it on the server using the following command :

exportResult = report.ExportToPdf("c:Sourcetest.pdf")

as explained in the page below.

My question is : how can I enable the users to download the PDF to their local computers ? Since the Spotfire servers are on a different network, the download would need to happen via the browser.

Thanks for your insights!

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...