Document File Name

Use this field to specify a file on the system that is to be attached or that contains a new version of an already-attached document to be updated. The specified file must reside on the database server.

On the Event Action Attach form, this field is used with the Attach and Update document actions.

The contents of this field must use this syntax:

scalarExpression

where scalarExpression is or resolves to the path and file name of the document (file) to be attached or updated.

The output of scalarExpression can be in local or network path format, for example:

  • Local path format: driveLetter:\folder\subfolder\filename.ext

    where:

    • driveLetter is the identifier of the disk volume containing the desired root directory. Using a drive letter makes the path absolute, which is recommended for independence from the framework (application) installation folder.
    • folder\subfolder is the path of root-level folder > subfolders in which the file to be attached is located.
    • filename.ext is name and extension of the file to be attached.
  • Relative path format: \\serverName\sharedFolder\filename.ext

    where:

    • serverName is the name of the application server for the application or other server in the domain, where the file to be attached is located.
    • sharedFolder is the name of the folder where the file to be attached is located.
    • filename.ext is name and extension of the file to be attached.

When you click OK to return to the Event Actions form, the application "wraps" this content within a FILENAME( ) parameter, which yields this final syntax:

FILENAME(scalarExpression)