Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
raftar
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
Giuseppe
Contributor
Contributor

Same problem here. Any advice?

rajayk007
Contributor
Contributor

Hi -

 

Where you able to find the solution?

 

Thanks,

Ajay