File name default classes

This table shows the default classes for the file name settings. Access these properties through the File Names tab in Manage > Advanced.

EC default classes Definition
MEC_Prefix

The MEC_PrefixUUID class adds the internal UUID in front (prefix) of the file name.

File name result: UUIDAnyText.ext

MEC_Infix

The MEC_InfixUUID class inserts the internal UUID in the position indicated by "(UUID)" in the file name field.

File name result: AnyUUIDText.ext

Note: The parenthesis must be included in the file name field.

If the indicator (UUID) is not found, an exception is thrown.

MEC_Suffix

The MEC_SuffixUUID class appends the internal UUID after the file name.

File name result: AnyTextUUID.ext

MEC_InfixManifest

The MEC_InfixManifest class allows for manifest data in the generated file name.

When you set up the send object, the manifest item name is case sensitve and must be enclosed in parenthesis.

The manifest item name, including the parentheses, is replaced by the manifest item's value at runtime. If the manifest item does not exist, an empty string ("") is used as value.

You can use one or more manifest items in a file name. If the generated file name is blank, an error will be generated.

File name format: ([any text""("manifest item")")...[any text"

Note: If you specify a dash character for the file extension in the send object setting, it will create files without extension.

Here is an example setting for MEC_InfixManifest:

UUID.xml

Generated File name:

627674dfe9-1245-9f8b-9344-d8582dc4fd.xml

The manifest's UUID is used.

Prefix_cmn:agreement_UUID_Suffix.xml

Generated File name:

Prefix_Test_20_ce820edf05-a749-b896-13bd-f9d409ac60_Suffix.xml

The name of the agreement is Test_20.

com:fileName

Generated File name:

MBM_Test_20_in.xml

The generated file extension is included in the manifest item value and the generated file name is equal to the received file's name.

If you put this Java code into a user-defined function in a map: setManifestInfo("map:FileName", "MyFileNameFromTheMap.xml");

You must do these:

  • Set the file name to: "(map:FileName)"

  • Set the file extension to: "-"

The result file name will be: "MyFileNameFromTheMap.xml"

You can now set the complete file name or part of the file name from a map.