0 Replies Latest reply on Jul 7, 2015 5:27 AM by venugopal orugonda

    Problem with Javascript API to export filtered workbook as PDF

    venugopal orugonda

      Hi All,

       

      Facing a problem while trying to export filtered workbook as PDF. The approach which I am following currently is as follows:

       

      Step 1. Apply the filters using the below code (example)

      function filterSingleValue() {

        activeSheet.applyFilterAsync(

          "Region",

          "The Americas",

          tableau.FilterUpdateType.REPLACE);

      }  

       

      Step 2: Export the workbook to PDF.

      function exportPDF() {

        viz.showExportPDFDialog();

      }

       

      Problem: I am able to export the workbook to PDF but the workbook doesn't have applied the filters.

       

      Kindly share your thoughts on this.

       

      Regards,

      Venugopal.