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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

OnPostReload is not working

Hai,

Actually I want to export a Pivot table as a Qvd file. I have written a Macro and called the macro in the event of 'OnPostReload'. The Macro is running in this event when I reload through Qv Desktop (9.00.7440 SR3) and the pivot table is exported as a Qvd . But it is not happening when I reload through QlikView Server (9.00.7440 SR3)

Could anybody help me on this?

Thanks in Advance.

3 Replies
Not applicable
Author

Hi,

please try "ServerSideExport".


'*************************************************************
'* Export table (QV_Server)
'*************************************************************
sub ServerExport
set tb = ActiveDocument.GetSheetObject("CH01")
tb.ServerSideExport "E:\test.qvd", 4
end sub

0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF

Good luck!

Rainer



Not applicable
Author

Hai,

Thanks for your earliest reply. Its not working. Do i have to enable / change the settings anywhere in the server / document?

Not applicable
Author

Hi,

see the following link. Maybe you have the same problem.

http://community.qlik.com/forums/p/26619/101973.aspx#101973