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

How to change compression of document on server ?

Hi,

Due to a FTP distribution setup of QlikView Documents, some documents have compression setting HIGH.

To increase speed of opening and loading, I would like to change the compression to NONE.

In the Developer that's an easy task, but can you force or schedule this also through the Server of by Command Shell script ?

Kind rgds,

Eduard

1 Solution

Accepted Solutions
Not applicable
Author

Unfortunately no, you may change document properties only from Qv Developer, Regards.

View solution in original post

4 Replies
Not applicable
Author

Unfortunately no, you may change document properties only from Qv Developer, Regards.

Miguel_Angel_Baeyens

Hello Eduard,

There is an API entry for UseCompression (look in the APIGuide) that allows true or false, although the document properties allow None, High, Normal (so true may be high or normal). From the APIGuide:

set up = ActiveDocument.GetApplication.GetUserPreferencesup.UseCompression = trueActiveDocument.GetApplication.SetUserPreferences up


Haven't tested though. If that works, then you can set, say, a document with a button and execute this as a macro in action.

Regards.

boorgura
Specialist
Specialist

However, in the enterprise management console - you can enable the preload functionality, which keeps the document opened (blasted to full size) in the server's memory.

Not applicable
Author

THNX, Miguel,

This could work, I have to dive in to the API solution, but it could do the trick.

rgds Eduard