9 Replies Latest reply on Oct 10, 2014 2:13 AM by Vincent Racadot

    Javascript syntax error with RevertAllAsync api

    Vincent Racadot

      Hi everybody,

       

      I am using the version 8.2.2 of Tableau Server and I am encounteriing the following problem

      I am using the javascript API for Tableau and when I called the function viz.RevertAllAsync(), I have an javascript syntax error in the file "tableau_v8.js" on the line

      "

      tab._ApiServerResultParser=function(serverResult)

      {

           var $0=JSON.parse(serverResult);

           this.$0=$0['api.commandResult'];this.$1=$0['api.commandData'];

      }

      "

      In debug mode, I can see that the value of serverResult is the following

      {"api.commandResult":"api.success","api.commandData":{"fieldName":undefined,"caption":undefined,"type":undefined}}.

       

      The thing is that I am using this function (viz.RevertAllAsync()) for others worksheets in my application and it works fine.

       

      If you have any ideas on this problem, if you know where this error come from or any explication...

       

      Thanks in advance.

      Regards