Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Export to excel in server

Hi guys.

I 've a macro to export a list to excel. This macro is executed for each reload:


function myexport
set obj = ActiveDocument.getSheetObject("reposition")
path = "reposition.html"
obj.ExportEx path, 0
end function


It works in my laptop (QV 9.0 Personal Edition). In server, reload run fine but export doesn't works. No error in log. In settings, I marked "Allow macro execution on server" and "Allow unsafe macro execution on server".

Any idea?
Thanks in advance.



1 Reply
Not applicable
Author

Try ServerSideExport instead. Make sure as well that the QlikView Server user (the one which starts the QVS Service) has a permission to write on the target directory.

I hope this helps.