I've moved this post over to our Web Data Connector section of the community where you're more likely to receive a helpful response.
Hi I have the same issue authenticating Rest API from Service Now with Tableau WDC.
It Says Reference Error
ReferenceError: Can't find variable: _buildConnectionUrl file: http://localhost:8888/webdataconnector_sdk_1.1.0/WebDataConnector_sdk/Examples/jsonconnector.html line: 48
Can someone help me here?
I am facing the same issue. Any help on this would be extremely helpful
2 of 2 people found this helpful
Hey Ram and Sitram,
If you are still looking for HTTPS authentication, may I recommend to have a look into this: Web Data Connector (WDC) for Webtrends
Please only interpret this as sample code! What I did there in a nutshell:
With JQuery AJAX you can specify http authentication to the API. In my case I also had to add a CORS proxy, but this is not really the hardes thing (instead of your own heroku app you could also use cors.io)
I recommend you download the WDC I linked above and have a look into the code. Maybe this solves your problem already and if not, come back here