Jump to content
We've recently updated our Privacy Statement, available here. ×

Accessing a spotfire Data table through javascript


Eric Petrine 2

Recommended Posts

In my expericnce when working only in the Spotfire environment you can only acess data table information through document properties or calculated values wrapped in a div with an ID. You can use Iron python scripts to take a data table or cross table and save as JSON format in a document property to be used in your javascript. https://spotfired.blogspot.com/2014/07/data-table-to-json.html.  

 

The method I use is the mashup/embedded analysis in an HTML page: 

 

If you are embedding your analysis in a HTML page. Then you can utilize the Javascript API to get data table elements. https://community.spotfire.com/wiki/spotfire-tipstricks-embed-spotfire-visualizations-webpages 

 

https://community.spotfire.com/wiki/tibco-spotfire-javascript-api-overview#toc-18

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