X4 Help Center
7.5 7.4 German English
Auto Light Dark
Auto Light Dark
7.5 7.4 German English

PDF Merger

This adapter merges multiple unprotected PDF documents into one PDF document.

This adapter expects an adapter-specific input XML structure which contains multiple Base64-encoded strings with the data of PDF documents. The adapter outputs an XML document which contains a Base64-encoded string with the data of the merged PDF document.

Properties

Operation

Determines which operation the adapter executes

Possible values: Merge: Merge multiple PDF documents into one PDF document.

Status values

1

The operation was executed successfully.

-1

The operation failed due to a technical error.

Input

This adapter expects an adapter-specific input XML structure in which all PDF document data is stored as Base64-encoded strings in the desired order (defined in the order attribute).

<Data>
   <input order="1">
      <!--Base64-encoded character string with data from the first PDF document-->
   </input>
   <input order="2">
      <!--Base64-encoded character string with data from the second PDF document-->
   </input>
</Data>

Output

The successfully executed adapter returns an XML document with the following pattern:

<Data>
   <output mimetype="application/pdf" encoding="base64">
      <!--Base64-encoded character string with data from the merged PDF document-->
   </output>
</Data>