Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Summary:
Uncaught TypeError: Cannot read property 'appendChild' of null in Spotfire Web Player.
Details:
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
Resolution:
Ensure that the JS-API calls to spotfire.webPlayer.createApplication() are written below the <body> tag as shown below.
Reference:
- Community: Spotfire JavaScript API Overview
Comments
0 comments
Article is closed for comments.