FileID
Identifies a file of an object across its versions.
| Full name | MFiles.FileID |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
type | FileIDType | 1 | FILE_IDTYPE_SPECIFIC for one file.Values: FILE_IDTYPE_UNINITIALIZED (0), FILE_IDTYPE_ALL (1), FILE_IDTYPE_ANY (2), FILE_IDTYPE_SPECIFIC (3). |
internal_id | int32 | 2 | The file ID. |
external_repository_id | string | 3 | Used only for files in external repositories. Leave empty. |
Used by methods
- IRPCObjectOperations.ConvertToPDF -- Converts the specified object file to PDF format.
- IRPCObjectOperations.DownloadFile -- Not available over native gRPC: the server answers "Not implemented.". Used by the M-Files HTTP gateway.
- IRPCObjectOperations.GetFileDownloadUrl -- Not available over native gRPC: the server answers "Not implemented.". Used by the M-Files HTTP gateway.
- IRPCObjectOperations.GetLatestFileVersion -- Gets the latest version of a file and the object version it belongs to.
- IRPCObjectOperations.UpdateMetadataInFile -- Writes the object's metadata into the properties embedded in its files (for formats that support it).
Used in fields
FileDownloadUrlRequestData.file_ids-- File IDs in the object version to download with the key. Not used if uploadID is not zero or fileRef is not empty.FileInfoForFIX.file_ids-- All file IDs of the object's LCI version.FileVer.file_id-- The file.ObjectDataForIX.updated_files-- Identifies the files that have been updated.ObjectSkippedIndexingState.file_id-- The file ID or zero if not managed file.ObjectVersion.primary_file-- File ID of the primary file of a multi-file object, if the object is a multi-file object.ObjVerInfoForMIX.updated_files-- The IDs of the updated object files.GetLatestFileVersionRequest.file_id-- The file, asFile.file_ver.file_id.ConvertToPDFRequest.file_id-- The file id. If the file id part is empty / -1 then all files of the object version are converted.UpdateMetadataInFileRequest.file_id-- The file which is updated. IF the file part of the ID is empty then all files are updated.DownloadFileRequest.file_id-- File ID.GetFileDownloadUrlRequest.file_id-- File ID.