The File node (
) makes it possible to refer to files when developing an application. You can declare an external file that can be imported into the application or uploaded from the client at runtime. The File declaration uploads the file to the application at runtime. It is possible to access it using, for example, the file scheme
embedded:///file1, if the name of the File declaration is
file1 (you enter the name in the
Name field of the
Settings window). For more information about the file schemes, see
File Schemes and File Handling. To make it possible for a user to browse and select a file, use a
File Import object and select the File node as the source. You can also enter a label to display in the
Label field.
The Settings window for the file declaration contains the following section.
From the Target directory list, choose one of the following directories, depending on the type and use of a file: