The error is:
TypeError: undefined is not an object (evaluating 'xmlDoc.documentElement.childNodes.childNodes.childNodes.childNodes.childNodes')
I tried seeing the XML value by calling tableau.abortWithError and it looks fine, but the object is undefined for some reason. When I debug this in the simulator, the data and XML are all fine.
I am running into similar problem. The connector loads data perfectly.
Unlike Amir, I do not get any error in Tableau Desktop (v 9.1) but no data actually gets loaded other than the column headers. I confirmed by Right Clicking Extract -> View Data and its emplty
I tried using Safari, AND Chrome (I am on a mac so no IE) And the simulator works fine.
But I am running into issues when connecting with Tableau (i.e silent failing)
Are there any issues with using jquery and Tableau?
1 of 1 people found this helpful
My problem is solved now.
And I think you might be on the right track, Amir.
I was earlier using a 3rd party library (Microajax) to make the ajax call.
When I replaced it with standard xhr request as mentioned in the tutorial- Voila, it worked
So maybe that is the issue (use of 3rd party libraries)?
Ok, I figured out the issue.
My code dynamically generates the column headers based on the user input and there is an issue with referencing the page after clicking submit in Tableau. Since the window closes, I guess that the page data is gone and it therefore gets stuck.
under myConnector.getColumnHeaders, I had this in the web service call:
But now, instead of calling that, I stored the selected value in tableau.connectionData and referenced that instead. Everything is working fine now