Technical manual CIB jsMerge

Introduction

CIB jsMerge is a central component within the CIB office modules (CoMod) and is used to create dynamically generated documents using ODT file formats and JavaScript.

XML based open document formats like Open Document and Office Open XML are getting more and more popular, especially since Microsoft decided to use Office Open XML as the standard format for current versions of Microsoft Office.

Thus, for text programming, XML based open document formats are becoming an alternative to the commonly used Rich Text format (RTF).
Various CIB modules currently process documents in the RTF-format, CIB jsMerge now adds the processing of ODT and DOCX formats.

CIB jsMerge interprets field instructions in document templates and merges with optional variable data. The resulting document contains the resolved field instructions and the additional merged data. This variable data can be supplied via CSV or XML files.
Currently the ODT format is supported for templates. Using DOCX templates is possible but not fully implemented yet.

This document provides information about implementing CIB jsMerge into an existing technical architecture and calling CIB jsMerge. For detailed text programming related information (field instructions, examples and conventions) please refer to the document "CIB jsMerge Command Reference".