Skip to main content
Skip table of contents

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: Zip: Create ZIP archive from data of the input XML document

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. %USER_COLLECTION%\Project\Folder\)

zipName

File name of the created ZIP archive

Possible values: Any valid file name (e. g. Output.zip)

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.

HTML/XML
<data>
    <documents>
        <document>
            <filename><!--File name--></filename>
            <content><!--Base64-encoded data--></content>
        </document>
    </documents>
</data>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.