9 Replies Latest reply: Jul 31, 2017 7:14 AM by Elias Chafloque RSS

    table.exportData is not working

    Darius Pranskus

      Hi QlikSense Experts

       

      I am trying to exportData in a mashup with the following piece of code

       

      app.getObject('QV04','PtJP').then(function(model) {
              var $exportButton = $( document.createElement('button')).text('Export').appendTo('body');    
              var table = new qlik.table(model);
              $exportButton.bind('click', function() {
                  table.exportData({download: true});
              });
          });
      

       

      and the table.exportData fails with the following error:

      Am I doing something incorrectly? I am on the QlikSense Desktop 3.2 SR4

       

      Thanks