Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
sumanta1234
Partner - Creator
Partner - Creator

save object as pdf in mashup

Hi, I want to save object as pdf in mashup. 

'As sheet as PDF File' extension I have achieved to save the whole page as PDF but I want object wise PDF.

So could you please guide me how to achieve this.

Thanks, Sumanta

3 Replies
treysmithdev
Partner Ambassador
Partner Ambassador

sumanta1234
Partner - Creator
Partner - Creator
Author

Hi @treysmithdev

I have added a button in HTML section like below:

<button id=result type="button">PDF</button>

Then added the below code in javascript section:

var settings = { documentSize: 'a4', aspectRatio: 2, orientation: "landscape" };

app.getObject('QV02','btvNjY');

app.visualization.get('btvNjY').then(function(vis){
vis.exportPdf(settings).then(function (result) {
console.log('PDF download link: ', result);
});
});

 

But not getting any result. Please guide me.

RahulBuge14
Contributor
Contributor

Hi Guys,
I am looking for export the mashup page with chart, graph and table in PDF format. If any one know please reply.
Thank you!.