Technical manual CIB jsMerge
Calling CIB jsMerge
Setting Properties via Scriptfile
Most properties mentioned in the previous chapters can also be set in the scriptfile.
Example Scriptfile example.js:
setProperty("licenseCompany","Companyname", true);
setProperty("licenseKey","xxxx-xxxx-xxxxxxxx", true);
setProperty("inputfile", "./filename.odt", true);
setProperty("outputfile", "filename_out.odt", false);
setProperty("datafile", "testfolder/control.csv");
setProperty("multidatafile", "1");
Note:
The properties "logfile" and "loglevel" currently can not be set via the scriptfile.
When calling CIB jsMerge via CIB runshell, the properties set directly in the CIB runshell call take precedence by default unless the override parameter is set to "true" within the scriptfile setProperty() call.