ProcessPreview.dss

This script is always called after a preview document is produced, but before it is written to its folder. By default this script does nothing. Users can add functionality to this script for processing the preview before presenting it to the user.

Parameters

The script is called with the following parameters:

  • Document: The file path of the produced document. If you adapt the script to process this document, we recommend that you save it to the same file.

  • Environment: The environment to produce the document.

  • Master Template: The Master Template to produce the document.

  • Format: The requested output format.

  • UserID: The user name of the browsing user

  • ApplicationID: The name of the KCM ComposerUI application.

  • ProcessParams: The content of the pvw_proc_params that is passed to the runmodel call if any.