Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

exportPdf method download url error 500 (Internal Server Error)

Hi everyone!

I have a button in my click mashup and I want to export  an object to pdf by using exportPdf method.the following is my code.

app.getObject('QV01','dQFzUhe');
$('#pdfobj').click(function(e){
app.visualization.get('dQFzUhe').then(function (model){
var option={
documentSize: "A4",
download: true,
orientation: "landscape"
};
model.exportImg(option).then(function (link){
window.open(link);
});
});
});
//create cubes and lists -- inserted here --

} );

when i click on the button it shows the following error

POST http://localhost:4848/api/export/printing/export/object/image?requestId=a606ee8e-62a4-4efc-b0ab-4b7a0ddd2243 500 (Internal Server Error)

 

Any ideas how to make this work?

Labels (2)
2 Replies
Highlighted
Contributor
Contributor

Same problem here. Any advice?

Highlighted
Contributor
Contributor

Hi -

 

Where you able to find the solution?

 

Thanks,

Ajay