M-Files API 23.11.13135.0
FindFile Method
VaultObjectSearchOperations Object : FindFile Method
The relative path to the object file.
Description
Gets a file based on the specified relative path.
Syntax
Visual Basic
Public Function FindFile( _
   ByVal RelativePath As String, _
   Optional ByVal UpdateFromServer As Boolean = False _
) As ObjectVersionFile
Parameters
RelativePath
The relative path to the object file.
UpdateFromServer
Remarks

The file name must be encoded with the object ID. The object ID is automatically appended to the file name if the object is opened from M-Files. The disk drive letter and the first folder level (the vault name folder) are left out of the path.

For example: Documents\By Class\Application\Document Template for Word (ID 84).doc

This method is available only if M-Files API is used in the client interface mode.

See Also

VaultObjectSearchOperations Object  | VaultObjectSearchOperations Members