Jump to content

Getting JavaScript error when embed Spotfire visualiizations on HTML


Albert Chang 2

Recommended Posts

Hi,

I have install Spotfire Server, Node Manager, Web Player, and create some Libraries on server.

ThenI followed the instructions on How to embed a Spotfire visualization within a web page,

Link: https://community.spotfire.com/wiki/spotfire-tipstricks-embed-spotfire-visualizations-webpages

but getting error while HTML opened with Chrome, see attached file: 2019-04-25_095749.png.

and this is opened with IE: 2019-04-25_102911.png

Here is myhtml, see attacted file: testanalyst.html,

could you please help to solve this

Thank you.

Link to comment
Share on other sites

Not sure which version of Spotfire you are on but the way we use JavaScript API to embed an analysis is different for 7.5-713 and 7.14 and above. Below wiki article provides examples for both the implementations, I would suggest to refer to those examples and make changes as needed and then test,

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

 

Check the getting started section for examples

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