-
1. Re: error in simulator
Robin CottissSep 20, 2015 8:17 PM (in response to Chris Harrington)
1 of 1 people found this helpfulHello Chris, My quick guess is that you were seeing a cross domain issue. Could you have been loading the js file using https but your test html was not using https?
Robin
-
2. Re: error in simulator
Chris Harrington Sep 20, 2015 8:27 PM (in response to Robin Cottiss)It was either that or a "cross-wired" issue (eg, editing the wrong .js file). If I see it again, I'll pay more attention to what I did to solve it.
-
3. Re: error in simulator
Ben LowerSep 21, 2015 1:13 PM (in response to Chris Harrington)
Were you using Firefox browser by any chance? There's a bug in that .js file that will trigger an issue in Simulator in FF. This file is fixed locally in the SDK download and will be fixed on public.tableau.com soon.
-
4. Re: error in simulator
Chris Harrington Sep 21, 2015 1:19 PM (in response to Ben Lower)Yes, it was in Firefox. I'll try the new .js in the SDK. Thanks.
-
5. Re: error in simulator
Ben LowerSep 21, 2015 1:20 PM (in response to Chris Harrington)
Cool thx for confirming. Sorry about the bug. Workaround now with using local file or using a different browser. I went local file route myself as I'm a huge FF fan
-
6. Re: error in simulator
Chris Harrington Sep 21, 2015 4:46 PM (in response to Ben Lower)I just downloaded the new SDK and I don't see there were any changes. I had downloaded it previously about 3 days ago.
-
7. Re: error in simulator
Ben LowerSep 21, 2015 5:11 PM (in response to Chris Harrington)
The version up on public.tableau.com has lines 128-136 of:
function _receiveMessage(evnt) {
var wdc = window._wdc;
if (!wdc) {
throw "No WDC registered. Did you forget to call tableau.registerConnector?";
}
if (!_sourceWindow) {
_sourceWindow = evnt.source
}
var payloadObj = JSON.parse(event.data);
The error is on line 136. "event.data" should be "evnt.data". This line is fixed in the lib that's included in the download of the WDC SDK
-
8. Re: error in simulator
Chris Harrington Sep 21, 2015 5:21 PM (in response to Ben Lower)Ok. I had interpreted your earlier reply as meaning there had just been a new release of the SDK download.