13 Replies Latest reply on Feb 15, 2019 2:52 PM by Madhu HR

    Function refreshDataAsync() does not refresh the view

    Karen Huang



      Got a task to refresh a real-time sheet  which can be viewed via browser. Googled the Internet and copied a number of scripts but none works on my pc. I have the following codes in the script:



        function RefreshViz(){



      The function alert() works as a dialog box pops up:



      However refreshDataAsync() does not seem to work as the view doesn't get updated.


      This morning I stopped the Tableau service for some other reason whilst still having the htm file with the javascript running on Chrome. And I got this:



      It seems a request was sent to the server! Then why didn't the view get updated? I tried on IE8, Chrome 45 and Firefox22.


      Any idea would be appreciated.