As you can already feel, this is not more than guessing. It usually is very helpful to include your code and some more specifications (what language do you use, what protocols, etc) in your question ;-)
Unfortunately the HTML endpoint handles multiple queries so I need the query string for both the actual query it should run in KeenIO AND to allow Tableau to save it as a unique Connector.
OK, so your doing the standard ajax call to the API, with or without a proxy, good
In the sample JSON connector the URL is entered in an input field "jsonUrl". This URL is stored in stringified form in Tableau's connection data ( tableau.connectionData = JSON.stringify(conData); ). As far as I understand WDCs, this is nice, but not enough for Tableau to be able to recall the URL later on. So the problem is: As soon as you do not enter the URL to the connector, Tableau simply doesn't know where to send the ajax call to.
The easiest way to solve this would be to add the URL to the connector code somewhere. Every time you call the connector (from Desktop or Server), re-construct the URL (or hardcode it once with a fixed date range if you want that) and pass it over to the ajax call.
Does that make sense?
The simple solution to this was I had completely missed that we needed to
run a client desktop that had the the sync server running. My lack of
understanding the product suite I guess!
Thanks for the help.
On Jan 21, 2016 12:59 AM, "Martin Seifert" <firstname.lastname@example.org>
Ahhh, you tried to publish the WDC to Tableau Online! I thought you were talking about the Workbook being published to Tableau Online
Yes, indeed, Tableau Online can't run any WDCs for security reasons... Let's support the idea to add this functionality: Web Data Connector for Tableau Online
Kind regards, Martin
Hi Martin - forgive the off topic reach out, but it seem you are somewhat of an expert with this WDC and that seems very rare right now.Wondered if I may be able to chat with you a little more on the subject, I am looking to get at things like logging info etc. from my client.
dave[at]mywebroom.com if you are free to help.