Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Coming your way, the Qlik Data Revolution Virtual Summit. October 27-29. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

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
Highlighted
Luminary
Luminary

Highlighted
Partner
Partner

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.

Highlighted
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!.