Please enable JavaScript to view this site.

This exit program must be called by a File Output Device and is used to create a .IDX file with the same name as the supplied file name and in the same location. All of the supplied parameters, which can contain any information that you require for  your Java program, together with the File path, File name, File extension and other program information. Note: The generated .IDX file will inherit permissions from the folder.

This program would normally be called if you are creating a file in a folder being monitored by a Java Folder Monitor or Web Service Folder Monitor.

Required Parameters for using FMWEBPOST

If you wish to use this program to produce an IDX file to be used by the Web Service Folder Monitor FMWEBPOST then you will need to specify the following File Exit program parameters in your PPD.

Parameter

Length

Description

Example

You do not need to specify PARM1 - PARM5 unless you wish to override the entries in the Web Service Folder Monitor you have created to monitor for these files.

PARM1

132

First 132 characters of URL to Web Service if you wish to override Folder Monitor parameter.

 

https://localhost:6443/docStore/store/Test%20DocStore/document/

Note: Characters must be escaped e.g. blank is %20

PARM2

132

Last 132 characters of URL to Web Service if you wish to override Folder Monitor parameter.

 

PARM3

132

Username for Web Service if you wish to override Folder Monitor parameter.


PARM4

132

Password for above Username if you wish to override Folder Monitor parameter.


PARM5

132

The Parameter name for the file parameter if you wish to override Folder Monitor parameter

document

The following are the Values for the Parameter Names specified in your Web Service Folder Monitor making up the Name / Value pairs for the Web Service parameters.

PARM6

132

Parameter Value 06

Customer Number for CUSNO key

PARM7

132

Parameter Value 07

Invoice Number for INVNO key

PARM8

132

Parameter Value 08

Invoice Date for INVDAT key

PARM9

132

Parameter Value 09


PARM10

132

Parameter Value 10


PARM11

64

Parameter Value 11


 "

"

"


PARM20

64

Parameter Value 18


Note: You may need to upgrade your Cobwebb Server software to use this program - from version 6.2.78.

Example Output

Based on the supplied information in this example the file path would be /test/idm/flrmon/TEST13.idx

Parm01=https://localhost:6443/docStore/store/Test%20DocStore/document/

Parm02=

Parm03=

Parm04=

Parm05=document

Parm06=ABC0123

Parm07=01234567

Parm08=2018-10-24

Parm09=

Parm10=

Parm11=

Parm12=

Parm13=

Parm14=

Parm15=

Parm16=

Parm17=

Parm18=

Parm19=

Parm20=

Path=/test/idm/flrmon/

Filename=TEST13

Extension=PDF

Program=COBFILIDX

Library=COBEXIT

User=CPPDMM

Date=2018-10-24

Time=12.49.32