test

Warning when upgrading to Spotfire 10

TIBCO has deprecated the JQueryUI Javascript library in the latest Spotfire 10.0 release

TIBCO Community pages show us how to use JQuery properly

Exporting to Excel (Web Player)

# INPUT PARAMETERS
# vizTable : Visualization
# FileLocation: String (c:\temp\file.xls)


import System
from System.IO import FileStream, FileMode
from Spotfire.Dxp.Application.Visuals import TablePlot
from Spotfire.Dxp.Data.Export import DataWriterTypeIdentifiers

# Export Table data to the file
try:
 stream = FileStream(FileLocation, FileMode.Create)
 vizTable.As[TablePlot]().ExportData(DataWriterTypeIdentifiers.ExcelXlsxDataWriter, stream)
finally:
 stream.Dispose()



Here is a better solution:
http://spotfired.blogspot.com/2014/03/export-to-excel-pdf-clipboard-etc.html




5 comments:

Anonymous said...

This tries to save on the server and doesn't stream to the web user. Is there a solution that streams to the webuser instead?

Aditya walia said...

Even I am facing same issue.
1) We can export to our local machine through client, however we can export through webplayer.

Iris said...

Hi I work for a health center in NY and would like to connect with you. Is there a way to contact you via email?

Iris said...

Hi I work for a health center in NY and use Spotfire. Is there a way to contact you via email?

Jose Leviaguirre said...

Hello Iris, my contact info is at the bottom of the page. You can contact me via yahoo, gmail. My username is jleviaguirre.