FILEREQUEST

Usage

TIBCO iProcess Workspace (Windows)

Warning: (iProcess only) This expression is not available to the TIBCO iProcess Script Server Plug-in. Therefore, even though you can successfully enter the expression in your iProcess Script plug-in definition, it will not be processed by the iProcess Engine. It will return SW_NA.

Requests file selection from the user using the common dialog box.

Syntax

FILEREQUEST (title, initdir, filters, initpath)

where:

title is a text string specifying the dialog box title.
initdir is a text string specifying the initial directory.
filters is a text string specifying the filters, in the form:

description;filter;description;filter...

SW_NA or "" means *.*.

For example:

"Text Files;*.TXT".

initpath is a text string specifying the initial path and/or filename.

Returns

A text string containing the pathname of the file selected.

Examples

TIBCO iProcess Modeler:

This prompts the user to choose text files from the specified directory in the Choose a File dialog box.

FILEREQUEST ("Choose a File","C:\", "Text Files,*.TXT","C:\names.txt")

TIBCO Business Studio:

IPEFileUtil.FILEREQUEST("Choose a File","C:\\", "Text Files,*.TXT","C:\\names.txt");