Ileana Deloge Posted January 23, 2020 Share Posted January 23, 2020 Hello, Is there a way to interact with a Spotfire report data/settings inside a React app (with TypeScript) Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted January 23, 2020 Share Posted January 23, 2020 To embed spotfire analysis into a custom web application you can use the TIBCO Spotfire JavaScript API. The following article provides an overview on the api, https://community.spotfire.com/wiki/tibco-spotfire-javascript-api-overview Link to comment Share on other sites More sharing options...
Ileana Deloge Posted January 23, 2020 Author Share Posted January 23, 2020 I already saw the article, but I am using TypeScript. Link to comment Share on other sites More sharing options...
Tyger Guzman 2 Posted January 23, 2020 Share Posted January 23, 2020 I've never tried this myself but I have found this article :https://www.linkedin.com/pulse/using-spotfire-javascript-api-react-js-arnab-chatterjee Link to comment Share on other sites More sharing options...
Ken Collins 2 Posted April 28, 2020 Share Posted April 28, 2020 Hi Ileana, I can't comment on TypeScript, but in order to get this to work in a plain React app, I had to download the Spotfire JavaScript API and make updates since it is outdated EcmaScript 5 code and it fails strict mode. I added an export statement at the bottom and I changed 15 places in the code that modified the built-in arguments object. Refer to my comment here: https://community.spotfire.com/wiki/spotfire-tipstricks-embed-spotfire-visualizations-webpages#comment-61906 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now