ProcessPreview.dss
This script will always be called after a preview document is produced, but before it has been written to its destination. 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, you must take care that it is saved to the same file.
- Environment, the environment that was used to produce the document.
- Model, the model that produced the document.
- Format, the output format that was requested.
- UserID, the user name of the browsing user.
- ApplicationID, the name of the ITP/OnLine application.
- ProcessParams, the content of the pvw_proc_params that was passed to the runmodel call (if any).