Configure Unit Library dialog box

EOM Console

Use this dialog to configure a unit library. Unit libraries are JavaScript modules that CpMill calls at certain known times while processing a document (for example, begin document, page start, page end, etc.). The modules can modify the contents of the document, extract information from the document, write the document, or parts of it, to a new location, or perform many other operations.

You can access this dialog when configuring a business rule to modify document contents or when using the Resource Manager.

Click an option you want to learn more about.

Configure Unit Library tab

What do you want to do?


Name

Displays the name of the unit library configuration.

Description

Displays text describing the unit library configuration.

Comments

Displays any comments. Click in the drop-down list to enter/view comments.

Document Properties Needed

Specifies the document properties needed by the unit library. These properties will be written to a file called <filename>.properties when Barr EOM calls the document modification software. This file can be opened and read in by the unit library.

Filters Needed

Specifies the filters needed for the unit library. These filters will be written to a temporary location which will be sent to the document modification software.

Unit

Specifies the unit library. Review the default comments of a new unit library for descriptions of the parameters sent from EOM to the unit library and information about how to tell EOM about the documents modified or created by the unit library. Enter the unit library code at the bottom of the text where the <--put code here--> line is shown. See below.

<docmill>

  <application>

 <--put code here-->

  </application>

</docmill>

For more information on configuring unit libraries, contact Barr Systems LLC Professional Services.

Reload Variables from Unit button

Reloads the variables in the unit library and lists any output variables in the Output variables grid.

Output variables grid

Displays the output variables in the unit library. This grid is shown for reference only. It cannot be edited.