About the sample

The purpose of the ProcessLegacy sample package is to provide a starting point to those looking to continue to process legacy non-XML data through AEM Forms, as they move from Adobe Central Output Server or another solution to AEM Forms.

The sample package includes the cmb-legacy.ecma script that determines:

if the data needs to be run through a TDF file.

the print output format (PS, PCL, and so on) to use based on any -asp printer requested on the JOB card.

How to send the job to a printer, based on the -z option and its format. For example, direct to an IP address or a shared queue)

Prerequisites to working with the sample

Ensure that you have the appropriate packages for AEM Forms (adobe-aem-forms-pkg-<version>.zip), and Central Migration Bridge (adobe-aemfd-cmb-pkg<version>.zip) installed.

You are familiar with Central Output Server and AEM technologies.

Set up the sample package

Configure a logger (optional)

The sample package uses a custom logger to keep its log file separate from the system. You can change the logger at line 14 of the script, however if you want, you can set up a separate logger by performing the following steps:

a sample Field-Nominated data file, a sample XML file, a sample TDF file, and a sample XDP in /content/fd/cmb/samples/processlegacy.

Note:

All file names are lower case and there are reminder folders present to ensure that you remember to name everything in lower case. CRX is case-sensitive and when we extract the JOB name from the incoming data file, we convert it to lower case to eliminate inconsistencies and errors due to casing.

Note:

Generally, it is recommended to keep TDF files on a local disk instead of within AEM for high-performance. The sample chooses to move the TDF files within AEM to simplify maintenance (so that everything is in one place) and to eliminate the need to maintain multiple copies of your files on cluster nodes. However, it may not suit you if you are looking for extra speed.

Set up Central installation directory

Note:

Skip this section if your Adobe Central Output Server is installed at the default location.

The Migration Bridge also requires that your Adobe Central Output Server
is installed on the same machine as your AEM is running on. However, it doesn't require Central to run (only installed).

Perform the following steps to change the location of Central Pro installation to the default location:

Log in to Felix Console at http://[hostname]:[port]/system/console/configMgr.