Functions

docFile

Supported By

Syntax

[the] docFile of factor

docFile ( expression )

Factor and expression yield strings.

Description

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

Note

The docFile 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

documentFile

See Also

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