FileDataItemName property



Assigns or returns the name of an ImmediateAccess data item whose value names the file to be parsed.

Syntax

Set:     FileReader.setFileDataItemName(fdiName)
Get: fdiName = FileReader.getFileDataItemName()

Applies to

FileReader class.

Data type

String.

Usage

The file name is treated as relative to the HTML page's directory. You can cause a single instance of the FileReader applet to parse/publish more than one file by changing the value of the fileDataItemName item. Every time the file name changes, the new file replaces the old file on the the InfoBus. The fileDataItemName parameter is ignored if fileName is supplied.

Example
FileDataItemName property example

See also
FileReader applet