Functions

documentPath

Supported By

Syntax

[the] documentPath of factor

documentPath ( expression )

Factor and expression yield strings.

Description

The documentPath function returns the path of the document with the specified name. If no such document can be found, the documentPath function returns empty. In OpenXION, the locations searched for documents are determined by the documentPaths property.

Note

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

docPath

See Also

open, documentPaths, appPath, appFile, docFile, appOrDocPath, appOrDocFile