Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to use exportpdf() function of qliksense

Hello all,

I have written the below code and its not working.

var config = {

    host: "qsense.deloitte.com",

    prefix: prefix,

    port: 443,

    isSecure: true

};

    var settings = {

        documentSize: "A4",

        aspectRatio: 2,

        orientation: "landscape"

    };

    var app = qlik.openApp('e2be0d0e-4793-40d1-890a-d67a415de3cd', config);


    app.visualization.get('nctVxCY').then(function (vis) {

       

               vis.exportPdf(settings).then(function (result) {

    console.log('PDF download link: ', result);

          });

    });


now Im getting the exception as "vis.exportPdf is not a function". Can anyone please let me know what went wrong.


Thanks in advance!!



1 Reply
sumanta1234
Partner - Creator
Partner - Creator

Hi,

 

have you got any solution??

I need a solution to achieve export to pdf functionality.