ProcessResult.dss
This script is always called after a result document is produced, but before it is written to its folder. By default this script does nothing. You can add functionality to this script for processing the result 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.
-
MetaData: The file path of the Master Template run XML metadata. For more information on model run XML metadata, see the "Integration" chapter of the KCM Core Developer's Guide.
-
Environment: The environment that is used to produce the document.
-
Master Template: The Master Template that produces 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 res_proc_params that is passed to the runmodel call if any.