Functions

documentFile

Supported By

Syntax

[the] documentFile of factor

documentFile ( expression )

Factor and expression yield strings.

Description

The documentFile function returns a file that represents the document with the specified name. If no such document can be found, the documentFile function returns empty. In OpenXION, the locations searched for documents are determined by the documentPaths property.

Note

The documentFile function is specific to OpenXION; it is not part of the XION Scripting Language Standard.

Security

To use this function, OpenXION's security settings must allow the FILE_SYSTEM_READ security key. If the required security key is denied, a script error will be triggered.

Synonym

docFile

See Also

open, documentPaths, appPath, appFile, docPath, appOrDocPath, appOrDocFile