ZIP Compression (Deprecated)
ZIP Compression
: Creates a ZIP archive with one or multiple files from data deposited in an adapter-specific XML structure, and saves the created ZIP archive into a local folder.
The ZIP Compression adapter is discontinued with version 6.2.0 of the X4 BPMS and will not be supported in future versions of the X4 BPMS. Please use the Zip Converter instead.
Properties
Operation | Defines the operation executed by the function adapter Possible values: |
Parameters
Adapter | Main adapter class (do not change!) Possible values:de.softproject.integration.adapter.zipadapter.ZipAdapter: Main class (Default) |
directory | Destination folder for the created ZIP archive Since X4 BPMS release 5.0 it is no longer required to add a trailing slash character to separate the directory from the ZIP file name. Possible values: Any valid string (e.g. |
zipName | File name of the created ZIP archive Possible values: Any valid file name (e. g. |
Input
This function adapter expects an adapter-specific input XML structure. It contains the file names and the Base64-encoded content of each file in the ZIP archive. Each <document/>
element corresponds to a file in the new ZIP archive.
<data>
<documents>
<document>
<filename><!--File name--></filename>
<content><!--Base64-encoded data--></content>
</document>
</documents>
</data>