Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

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
Honored Contributor II

Export to pdf works server side, but not via AccessPoint

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

Export to pdf works server side, but not via AccessPoint

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
Honored Contributor II

Export to pdf works server side, but not via AccessPoint

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,

Community Browser