Search Posts

Issue with getUnderlyingDataAsync Tableau API in Angular application

I am using getUnderlyingDataAsync tableau API to fetch the records of an activeSheet and exporting them to excel sheet. But when I try to get all records by giving maxRows zero, application is crashing. I am able to fetch 20000 records without any issues.

        var _options = {
          maxRows: 0,
          ignoreAliases: false,
          ignoreSelection: false,
          includeAllColumns: true
        };

       activeSheet.getUnderlyingDataAsync(_options).then(function(t) {
          var data = t.getData();  
          var columns = t.getColumns();
       });

Source: AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.