openFileDialog()

The consoleLib.openFileDialog() system function opens a window that prompts the user to select a file from the current system. You can pass the name of an existing file or folder to the function to use as a starting location for the file selection dialog. The function returns a STRING containing the fully qualified location of the selected file.

This function is supported only for Console UI applications running in RCP mode.

Syntax

  consoleLib.openFileDialog(currentFile STRING in)
  returns (result STRING)
currentFile
An existing file or folder to use as the starting location.

Feedback