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: 
Not applicable

Export to pdf works server side, but not via AccessPoint

Hi,

Can anyone help?

I have a very simple macro which exports a chart to a pdf document (requires you to save, but I am happy with that) - this works fine on the server, but not via AccessPoint.

This is the macro:



sub

PrintChartObject()

ActiveDocument.GetSheetObject(

"PatientChart").PrintEx "QlikViewPDF", false

end

sub











3 Replies
vgutkovsky
Master II
Master II

This will probably only work from the IE Plugin since print macros are notoriously unreliable in Java and AJAX. Have you tried it from the IE Plugin? Also make sure that in QEMC --> System --> QlikView Servers --> Security tab, "Allow Macro Execution on Server" is enabled. For experimentation, you can try checking the "Allow Unsafe Macro Execution on Server" and see if the problem is resolved.

Regards,

Not applicable
Author

Hi Vlad,

Thank you for your reply. This did not make any difference.

Yes, we can open this in IE, but not AJAX.

Thanks

vgutkovsky
Master II
Master II

Most likely this macro is just not supported in AJAX mode in that case. AJAX is convenient because it's a ZFC, but the downside is that you tend to lose a lot of more advanced functionality.

Good luck,