# 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()
try:
stream = FileStream(FileLocation, FileMode.Create)
vizTable.As[TablePlot]().ExportData(DataWriterTypeIdentifiers.ExcelXlsxDataWriter, stream)
finally:
stream.Dispose()
5 comments:
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?
Even I am facing same issue.
1) We can export to our local machine through client, however we can export through webplayer.
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?
Hi I work for a health center in NY and use Spotfire. Is there a way to contact you via email?
Hello Iris, my contact info is at the bottom of the page. You can contact me via yahoo, gmail. My username is jleviaguirre.
Post a Comment