Set Print Storage Duration

Customizing the storage retention limit is available in on-premises installations of Geocortex Printing only. Customizing the storage retention limit is not available in cloud Printing.

The Printing service retains the files generated from running a print. These files are entered into the data directory, whose default location is C:\ProgramData\Geocortex\Printing\Jobs_. By default, the print files are kept for 7 days. Once the storage limit has passed, the oldest Jobs_ folder is deleted. The storage limit can be modified to a time limit of your choosing.

To customize the storage retention limit:

  1. As an administrator, edit the following web.config file:

    [installation_location]\Geocortex Printing\Deployment\web.config

    If you installed Geocortex Printing in the default location, the web.config file is here:

    C:\Program Files\Latitude Geographics\Geocortex Printing\Deployment\web.config

  2. In <appSettings>, add this line:

    <add key="app:storageRetentionLimit" value="" />

  3. Set value to a time period of your choosing.

    For example: <add key="app:storageRetentionLimit" value="7.00:00:00.000" />

  4. Save the file.

  5. For the changes to take effect, recycle the Application Pool running the Printing service.