Closed BACMac closed 7 years ago
Hi BACMac,
Not sure I'm looking at the right thing here but worth a shot: is your connectionUrl correct? It seems there's a weird space between BI and Pages:
var connectionUrl = "http://shared.shared.com/sites/MSR/RA/BI Pages/Untitled_1.html";
it's right and even if I put %20 between the two parts, I'm getting the same effect.
Ok, and what about the prefix:
Its an internal site, so the WWW is not needed.
Closing for lack of activity, please reopen if needed.
I can't figure out why this is not working. I'm getting no errors, but its returning no data. I'm just starting out with the connector, so I'm sure its something simple in the Java.
Here is my Java (function() {
var myConnector = tableau.makeConnector();
myConnector.getSchema = function(schemaCallback) { var cols = [ { id: "Name", alias: "Name", dataType: tableau.dataTypeEnum.string }, { id: "Email", alias: "Email", dataType: tableau.dataTypeEnum.string }, { id: "ID", alias: "ID", dataType: tableau.dataTypeEnum.string } ];
};
myConnector.getData = function(table, doneCallback) { var connectionUrl = "http://shared.shared.com/sites/MSR/RA/BI Pages/Untitled_1.html";
};
tableau.registerConnector(myConnector); })();
$(document).ready(function(){ $("#submitButton").click(function() { // This event fires when a button is clicked tableau.connectionName = 'SharePoint List Query'; tableau.submit(); }); });