11 Replies Latest reply on May 10, 2017 2:54 AM by Umesh Lohani

    showExportDataDialog specified sheet

    Joshua Kitz

      I'm having some trouble with the javascript API function showExportDataDialog. In all likelihood this is due to me not really knowing enough javascript.


      The standard showExportDataDialog works just fine. But when I try and tie that button to a specific sheet with the "worksheetInDashboard" option, the entire dashboard no longer loads into the page. Here is the code I am using:



      function exportData() {





      <a class="buttonorange1"  onclick="exportData()">Download Data</a>


      The sheet I want to always export data from is called ExportDataSheet. Is there an error in how I constructing the code? Or perhaps there are other common problems?


      Note I am using Tableau 9.2 with Tableau Online.