Post processing of output

Two new properties have been added to the metadata section of the document specification in the Rational® Publishing Engine launcher: pre-command and post-command. The properties contain the code for the commands to be executed before and after the document publishing process.

About this task

The new properties are in the metadata section of the document specification and not in the document template properties. The pre-command helps to prepare the data before the publishing the document specification. For example, the pre-command and post-command helps in copying the output files, archiving the output files, renaming the output files based on variables, mailing the results or invoking third party applications.

Procedure

  1. In the Document Specification, click Metadata. The Properties tab displays.
  2. Click pre-command or post command.
  3. Enter the values. An example of a batch command, C copy ${Word} d:\test\output.doc.
  4. Click OK.

Feedback