FileValueType
Enumeration for different conditions regarding file information.
| Name | Description | Value |
|---|---|---|
| FILE_VALUE_TYPE_HAS_FILES | Does the document contain one or more files. | 0 |
| FILE_VALUE_TYPE_FILE_NAME | File name (title + extension), can include DOS wildcards (such as *.txt). | 1 |
| FILE_VALUE_TYPE_FILE_SIZE | File size in bytes. | 2 |
| FILE_VALUE_TYPE_FILE_ID | File ID. | 3 |
| FILE_VALUE_TYPE_CREATION_TIME | The creation time of the file. | 4 |
| FILE_VALUE_TYPE_CHANGE_TIME | The change time of the file. | 5 |
| FILE_VALUE_TYPE_LINKED_TO_EXTERNAL_LOCATION | Is the file is linked to an external location (Yes/No). | 6 |
| FILE_VALUE_TYPE_LINKED_EXTERNAL_LOCATION_ID | The ID of the external location to which the file is linked. NULL if not linked. | 7 |
| FILE_VALUE_TYPE_HAS_DUPLICATES | Does the document have one or more duplicates. | 8 |
Runtime Access
This enumeration is available at runtime on the MFiles global object under the VaultEnums namespace. Access enum values using MFiles.VaultEnums.FileValueType.<value>.
Example:
const value = MFiles.VaultEnums.FileValueType.FILE_VALUE_TYPE_HAS_FILES;
See also: MFiles Global Object