1 Reply Latest reply on Nov 15, 2015 9:54 PM by Jeff D

    Web Data Connector

    pranjal gogoi

      Hi,

      I am new to tableau. I have developed a web connector which is using web service as a data source. The web service is a very simple web service developed using Microsoft VS2010. it returns following JASON results for the web method GetEmployessJSON():

      [{"Id":101,"Name":"Nitin","Salary":10000},{"Id":102,"Name":"Dinesh","Salary":100000}]

       

      But when I call the web connector from the Simulator.html, records are not displayed.

       

      I am attaching my connector page.

       

      It would be highly appreciated for any kind of suggestion.

       

      Thanks & Regards,

      Pranjal

        • 1. Re: Web Data Connector
          Jeff D

          Hi Pranjal, this is an excellent opportunity to use the debugging tools available in modern browsers.  F12 will bring up the tools (Chrome, Firefox, or IE). 

           

          Check out the console window.  If there are errors, they will appear in this window.

           

          Go to the scripts window, bring up your source code, and set a breakpoint on the "success" callback.  Step through the code a line at a time to see what's happening.  For example, you are looking for an element named data.query.results.quote.  Does this element really exist?  Can you see anything else that's not working as expected?