Jump to content

Can you not call data tables with JavaScript in a text area


Chad Holland

Recommended Posts

I am trying to build out some custom views in a text area using data from a data table.I am attempting to access the dataTable object with javascript, but I am not seeing how to accomplish this. Note, I do not know how to use ironpython, and the syntax of ironpython is annoying. I am a javascript developer, so I would rather use JS if possible. Note, I already tried using the functions in this JS API document:https://community.spotfire.com/wiki/tibco-spotfire-javascript-api-overview#toc-18.

Sorry if I sound a bit short in this, I have been searching for a solution to this all day, and there is just an endless amount of redirect or noinformation.

Link to comment
Share on other sites

You cannot unfortunately access the dataTable object from the text area using JavaScript. You would need to use IronPython script to do that and then use that script from the text area.

 

The JavaScript API that you are referring to is used for embedding Spotfire in a web page and accessing it that way, it is not applicable when using JavaScript in a text area.

Link to comment
Share on other sites

  • 2 years later...

Hello, I am also interested in accessing a specific datum (in this case a string) from my data table and simply printing out to the text area. Could you please describe in general terms (no need for a detailed step-by-step) how one would use IronPython to accomplish this?

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