Spotfire - Help needed getting web-embedded Spotfire analysis to display / work

Hi,

I have been struggling with trying to embed a trial Spotfire analysis into a web page <div> for a couple of days now.
I have tried following the how to video (by Matt Murdock?), have tried following the Spotfire tutorial and have now tried downloading the Spotfire Mashup Test example zip file and running that. Every time I just get a blank space where the analysis should be. In the case of the Tibco MashupTest javascriptapi example, I get the correctly-populated (or so I think anyway) scrolling control area on the left, and the debug output area at the bottom, but just a blank space where the embeddeded analysis should be. Reading forums, the accepted wisdom seems to be that I'm not signed in / don 't have single sign on enabled, however I am always signed into my Tibco Spotfire cloud account when trying it with the Tibco cloud server, and am trying it in an SSO environment when trying it against a test Spotfire installation in our own dev setup.

I have tried using the "spotfire.cloud.tibco.com/spotfire/wp/" server with the standard mashup example "/Gallery/Analyzing Stock Performance" analysis; tried creating my own sportfire cloud account and creating an example "Canada" analysis from the pre-loaded cloud example data, (making that publically available); I have tried a development server in an SSO environment, but every time I see a blank space where the embedded analysis should be. The browser console shows the following:

"Uncaught DOMException: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'.
    at Object.proxy.postMessage (https://spotfire.cloud.tibco.com/spotfire/wp/render/MAuAXa2RjXqgIDKehD/Spotfire.Dxp.Web.Resources.OpenProxy.min.js:1025:103)
    at HTMLDocument.<anonymous> (https://spotfire.cloud.tibco.com/spotfire/wp/render/MAuAXa2RjXqgIDKehD/Spotfire.Dxp.Web.Resources.OpenProxy.min.js:1033:58)
    at fire (https://spotfire.cloud.tibco.com/spotfire/wp/render/MAuAXa2RjXqgIDKehD/Spotfire.Dxp.Web.Resources.OpenProxy.min.js:299:110)
    at Object.fireWith [as resolveWith] (https://spotfire.cloud.tibco.com/spotfire/wp/render/MAuAXa2RjXqgIDKehD/Spotfire.Dxp.Web.Resources.OpenProxy.min.js:308:74)
    at Function.ready (https://spotfire.cloud.tibco.com/spotfire/wp/render/MAuAXa2RjXqgIDKehD/Spotfire.Dxp.Web.Resources.OpenProxy.min.js:327:78)
    at HTMLDocument.completed (https://spotfire.cloud.tibco.com/spotfire/wp/render/MAuAXa2RjXqgIDKehD/Spotfire.Dxp.Web.Resources.OpenProxy.min.js:332:8)"

This latest console error example from when I ran the vanilla MashupTest code contained in the Javascriptapitest.zip file from the Tibco website:
"community.tibco.com/wiki/test-utility-example-tibco-spotfire-javascript-api?exp=cloud&pref=off"

I believe this should be straightforward but refuses to work and I just don't see what I'm doing wrong. Clutching at straws, does it not like that I'm running it from a file on my desktop? If so, I don't see why that should be the case as it's just html and javascript, with nothing needing parsed by a web service at the non-Tibco end.

If someone could point me in the right direction on this it'd be hugely appreciated. 

Thanks in advance

(1) Answer

Login