IRPCFolderUISettings.SetFolderSelection

View as Markdown

Vault API / standard write session idempotent returns metadata structure version

Replaces the calling user's folder selection for one view level: the folders that the user always wants to see on a level whose listing is cut by the folder limit.

ServiceFolder UI settings MFiles.IRPCFolderUISettings
gRPC method/MFiles.IRPCFolderUISettings/SetFolderSelection
HTTP (mf-http-grpc)POST /grpc/v1/set-folder-selection
RequestSetFolderSelectionRequest
ResponseSetFolderSelectionResponse
Book and levelVault API, standard
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: SetFolderSelectionRequest

Replaces the calling user's folder selection for one folder location. The selection always belongs to the session's user, so the request has no user field. An empty folder array clears the selection.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
folder_location[]repeated FolderThe path from the vault root to the parent of the level whose folders are selected: a view folder followed by property folders.
folder_location[].typeFolderTypeThe type of the folder, for example FOLDER_TYPE_VIEW_FOLDER or FOLDER_TYPE_PROPERTY_FOLDER.Values: FOLDER_TYPE_UNKNOWN (0), FOLDER_TYPE_ANY_FOLDER (1), FOLDER_TYPE_VIEW_FOLDER (2), FOLDER_TYPE_PROPERTY_FOLDER (3), FOLDER_TYPE_TRADITIONAL_FOLDER (4), FOLDER_TYPE_SEARCH_FOLDER (5), FOLDER_TYPE_EXTERNAL_VIEW_FOLDER (6).
folder_location[].dataFolderInfoUnionAdditional folder type -specific information as a union.
folder_location[].data.any_folderFolderInfoUnion.AnyFolderData (oneof data)Any folder type.
folder_location[].data.view_folderFolderInfoUnion.ViewFolderData (oneof data)View folder type.
folder_location[].data.property_folderFolderInfoUnion.PropertyFolderData (oneof data)Property (virtual) folder type.
folder_location[].data.traditional_folderFolderInfoUnion.TraditionalFolderData (oneof data)Traditional folder type.
folder_location[].data.search_folderFolderInfoUnion.SearchFolderData (oneof data)Search folder (extended view folder) type.
folder_location[].data.external_view_folderFolderInfoUnion.ExternalViewFolderData (oneof data)External view folder type.
folders[]repeated TypedValueThe complete new selection, as the folder values that the listing returned. Empty clears it.
folders[].is_null_valueboolTrue if the value is empty. data is then unset.
folders[].typeDatatypeThe data type of the value.
folders[].dataTypedValueUnionThe value, in the member that matches type. Unset for an empty value.
folders[].data.textstring (oneof data)The value of DATATYPE_TEXT.
folders[].data.integerint32 (oneof data)The value of DATATYPE_INTEGER.
folders[].data.real_numberdouble (oneof data)The value of DATATYPE_REAL_NUMBER.
folders[].data.decimal_numberstring (oneof data)Fixed precision number.
folders[].data.dategoogle.protobuf.Timestamp (oneof data)The value of DATATYPE_DATE: midnight UTC of the date.
folders[].data.timegoogle.protobuf.Timestamp (oneof data)Time.
folders[].data.timestampgoogle.protobuf.Timestamp (oneof data)The value of DATATYPE_TIMESTAMP, in UTC.
folders[].data.booleanbool (oneof data)The value of DATATYPE_BOOLEAN.
folders[].data.lookupLookup (oneof data)The value of DATATYPE_LOOKUP: one value list item or object.
folders[].data.multi_select_lookupMultiSelectLookup (oneof data)The value of DATATYPE_MULTI_SELECT_LOOKUP: any number of value list items or objects.
folders[].data.integer64int64 (oneof data)Integer (8 bytes).
folders[].data.filetimegoogle.protobuf.Timestamp (oneof data)FILETIME (64-bit integer).
folders[].data.multi_line_textstring (oneof data)The value of DATATYPE_MULTI_LINE_TEXT.
folders[].data.aclAccessControlList (oneof data)Access Control List.

Response: SetFolderSelectionResponse

A structure that specifies the response type for the SetFolderSelection method.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
has_selected_foldersboolTrue when the caller has a stored selection for the location after the call.