Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

MC2 EJM, in contrast to classic MC EJM, doesn’t use masks for data file names and uses file paths relative to MC data folder only. Moreover MC2 EJM allows to pass data files in memory without writing files to file system.

To meet the requirements a special format of file/data exchange variable has to be used.

t is a string representation of data file list where data files separated by comma. The each data file, in turn, has 3 parameters separated by pipe.

Data File format: File name|Data variable name|(Archive) File type

Currently supporting archive file types are: zip, tar and tar.gz.

Data File parameters:

1)      File name – can be a file path relative to MC data folder or just file name

2)      Data variable name – the name of variable contains file data

3)      File type – File content type.

File name is mandatory field, variable name and type can be omitted.

Examples of Data File :

1)      cmw/extracts/enityextract_qwerty1234.zip  

File will be read from file system.

2)      enityextract_qwerty1234.zip|zipcontentVar

The content of file will be read from zipcontentVar variable.

3)      enityextract_qwerty1234.zip|zipcontentVar|ZIP

The zip file will be read from zipcontentVar then all files from the zip will be extracted and used as data files

The content of file can be base64 string. To decode content automatically we should add to file name .b64 extension:  E.g. file1.txt.b64|var1.  

  • No labels