Jump to content

IronPython to print/ export entire table with formatting


Katya Huster

Recommended Posts

My Customer requested export of a large cross table from Spotfire. The table has color formatting. the entire table with columns needs to be available to the customer. Since export to Excel is not available in Spotfire, I need an IronPython solution to export a PDF of the cross table in one page from the web player. I have found this script I've attached, however I cannot find anywhere in the API the UI functionality 'fit-fo-page'. If I was able to fit the pdf to page with 60% scale, that would be a working solution comparable to excel . Plus I need to make sure it works in the webplayer, where user can export onto their machine, not to the local C drive of the server. Any suggestions are greatly appreciated. Thanks, Kate
Link to comment
Share on other sites

  • 5 weeks later...

Hello,

There is no public api available to set the proportions for pdf export.

 

For your question on exporting the pdf on users local machines out of the box this is not possible.

You will need to write a custom export tool using the spotfire API's.

 

Please reference this wiki to start with -

https://community.spotfire.com/wiki/create-custom-export-tool-tibco-spotfire

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...