10 Replies Latest reply: May 15, 2018 4:04 AM by Varalakshmi Srinivasa Murthy 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