Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Save QVD on server

Hi, I have a macro that save a straight table in .qvd file:

sub SendToQVD()

      set vPath=ActiveDocument.Variables("CL.QVDPath")

      path=vPath.GetContent.String

      set obj = ActiveDocument.GetSheetObject("CH49")

      obj.ExportEx path & "consolidado.qvd", 4

end sub


This works fine when I open the document in local, but when I open the document in AccessPoint using web browser, it don't work. I've tried to change the macro like this:


sub SendToQVD()

      set vPath=ActiveDocument.Variables("CL.QVDPath")

      path=vPath.GetContent.String

      set obj = ActiveDocument.GetSheetObject("CH49")

      obj.ServerSideExportEx path & "consolidado.qvd", 4

end sub


But it still don't work. The path in CL.QVDPath variable is a relative path in the server (.\documentfolder\)

I also checked options in QMC:

Captura.JPG

I've tried to save as .csv file and doesn't work either...

I've tried with IE and Chrome.

What is wrong?


Thanks in advance.

3 Replies
Not applicable
Author

Any ideas?

marcus_sommer
MVP & Luminary
MVP & Luminary

The most macros won't work within the AJAX client - you will need the desktop client or the IE plugin. Further you need to check if the path is available (by network-storages you will probably need an unc-path) and accessable (the storing happens with the user-account from server).

- Marcus

Not applicable
Author

I've tried with IE plugin and unc-path, but it still doesn't work. Maybe something about permissions in the server...

Thanks Marcus.