Jump to content

How to export table by write.csv2 terr and data function to external patch


Recommended Posts

I want to include a botton to excel export in my analysis. I may used in a web client  and It may download in an specific path (not in web player or terr  server) or in user PC. At this moment its download in spotfire server.

Could you help me?

Thanks!!!

 

Link to comment
Share on other sites

Hi Gerardo,

You may find some inspiration on this page: Spotfire Iron Python examples.

But end users can also use the inbuilt functionality to export data (Menu File >> Export >> Data to file):

image.thumb.png.7b54cddae870bfb2ee7d7a6f683ca846.png

This will provide the end user with different options to export data from (data table/visualization) and in which format (default is .csv, but .txt, .xlsx are amongst the options):

image.thumb.png.1e0a26b385aa2462207c61fac921921f.png

This may be easier/quicker to achieve then creating an iron python script, as it works in the Analyst and Web Player (you need to give the end user the privilege to do so of course).

Kind regards,

David

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