Please enable JavaScript to view this site.

From v6.2.63 Cobwebb supply a Docstore Folder Monitor program FMDOCSTORE which stores files into Cobwebb Docstore where the information for any Document Type Keys is extracted from the file name. The Keys are extracted from the file name by specifying the Key separator and Key sequence in the Folder Monitor Parameters. Note: From v6.2.79 there is also an FMWEBPOST Folder Monitor where you can supply Key information in an IDX (Index) file of the same name as the PDF.

Once you have created your new Folder Monitor entry to call the FMDOCSTORE program you will need to change the Monitor Type to *DOC by pressing F22, selecting the entry from the list and pressing F10 to update.

Then you can press F10 to maintain the parameters (as these are Monitor Type specific).

FMDOCSTORE Parameters

The DS_SEP parameter allows you to specify the key separator that has been used in the file name. The default is "-".  

The DS_KEYSEQ parameter allows you to specify a comma separated list of the order the Document Type Key fields appear in the file name. This is only required if the order of the keys in the file name is not the same as the order of the keys for the Document Type. For instance, if your Document Type has keys of Invoice Number, Invoice Date and Customer Number but they appear in the file name in the order Invoice Number, Customer No, Invoice Date then you would specify 1, 3, 2 as in the above screen shot.

The DS_KEYFMT parameter allows you to specify a comma separated list of the format of any Date key field in the order it exists in the file name e.g. ,,*DMY if the third field is a date. The valid date format entries are: *DMY, *DMYY, *MDY, *MDYY, *YMD, *YYMD, *CYMD. The program will convert this date into the *ISO format required for Docstore.

For example, using the parameters in the above screen shot a file name of '1234567-ABC001-130922.PDF' would extract '1234567' as Document Type Key 1, 'ABC001' as Document Type Key 3 and '130922' as as Document Type Key 2, but as this has also been specified as a date key this will be converted to '2022-09-13'.

Please see Cobwebb Folder Monitor Types for details on all of the parameters.