|
JasperMergeProcess |
|
|
JasperMergeProcess is designed to merge the report files generated by JasperFillProcess in jrprint format into one document in the specified format. Note: Using this process is meaningful only if two or more jrprint documents were created by the preceding JasperFillProcess processes. Place this element into a ProcessForm and define its properties as follows.
Properties Fill Id (Accepts MScript) The Id that were used by the JasperFillProcess to group the output jrprint files.
Output File Name (Accepts MScript) The name of the output document file. It can be the name of either a permanent or a temporary file. Note that the temporary files are created under {WEB_APPLICATION_ROOT}/WEB-INF/MM-INF/~tempfiles directory and the names of the files are stored in pool variables or in process record fields. MoreMotion constantly scans the temporary files under this folder and deletes the expired files.
Examples:
Output Type (Accepts MScript) This property defines the format of the output document. The supported formats are: 1. PDF, 2. Text, 3. Excel (xls), 4. Excel (csv), 5. RTF. Only the number before the "." character is significant for defining the type. Should this value be defined dynamically with MScript the the resolved value must be a number between 1 and 5. Example:
Otherwise JasperMergeProcess throws an Exception. |