Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Uncaught TypeError: Cannot read property 'appendChild' of null
Solution:
If the API developer places their JS-API calls to spotfire.webPlayer.createApplication() above the <body>, the API will fail. The console will log:
Uncaught TypeError: Cannot read property 'appendChild' of null
at loadProxy (loader.js:55)
at Object.spotfire.webPlayer.createApplication (loader.js:36)
at index.html:18
loadProxy @ loader.js:55
spotfire.webPlayer.createApplication @ loader.js:36
(anonymous) @ index.html:18
Ensure that the JS-API calls to spotfire.webPlayer.createApplication() are written below the <body> tag as shown below.https://community.tibco.com/wiki/tibco-spotfire-javascript-api-overview
Comments
0 comments
Article is closed for comments.