Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

How to change how long temporary excel files are stored by the QlikView server

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Jill_Masinde
Support
Support

How to change how long temporary excel files are stored by the QlikView server

Last Update:

Feb 1, 2023 2:45:59 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 1, 2023 2:45:59 AM

When requesting an export to Excel or Print using the QlikView Ajax client, QlikView Server creates a temporary Excel file on the server. The file will be removed after one hour (3600s).

The time until deletion can be customized. 

By default, QlikView Server scans through the temp folder once an hour and removes all the files that are at least one hour old. This means that a file is stored somewhere between 1 and 2 hours, depending on when the file was created in relation to when the latest scanning occurred.

The value you can change is ServerTempSecTimeout (default 3600) which changes both time values.
E.g. if the setting is changed to 1800 (30 minutes), QlikView Server will scan the temp folder every 30 minutes. Any file that is at least 30 minutes old will be removed.

The temporary folder can be found in \QlikTech\QlikViewServer\Temp Folder

 

Resolution

In our example, we configure the files to be deleted immediately after download.

  1. Stop the QlikView Server service
  2. In a Windows File browser, browse to: C:\ProgramData\QlikTech\QlikViewServer\
  3. Open the settings.ini (if necessary, with administrative permissions)
  4. Add the following entry in the [Settings 7] section:

    [Settings 7]
    RemoveExcelAfterDownload=1

    Note: The setting references excel, but the setting also impacts HTML/PDF files.

 

Environment:

QlikView 

Labels (1)
Version history
Last update:
‎2023-02-01 02:45 AM
Updated by: