IRPCFolderUISettings.ResetFolderUIStateToDefaults

View as Markdown

Vault API / standard write session idempotent returns metadata structure version

Resets the caller's display settings of a folder to the program defaults or to the common settings, and returns the resulting state as a structure.

ServiceFolder UI settings MFiles.IRPCFolderUISettings
gRPC method/MFiles.IRPCFolderUISettings/ResetFolderUIStateToDefaults
HTTP (mf-http-grpc)POST /grpc/v1/reset-folder-uistate-to-defaults
RequestResetFolderUIStateToDefaultsRequest
ResponseResetFolderUIStateToDefaultsResponse
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: ResetFolderUIStateToDefaultsRequest

The request of ResetFolderUIStateToDefaults. Exactly one of reset_to_program_defaults and reset_to_common_defaults must be true.

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

FieldTypeDescription
reset_to_program_defaultsboolTrue to reset to the program defaults.
reset_to_common_defaultsboolTrue to reset to the common settings.
uisfidUISettingsFolderIDThe folder.
uisfid.typeUISettingsFolderTypeThe type that describes the folder whose UI settings are being retrieved.
uisfid.viewint32If not zero, specifies the view where the folder is located.
max_data_version_interpretableint32The newest settings data version that the caller understands. Use 15.

Response: ResetFolderUIStateToDefaultsResponse

The response of ResetFolderUIStateToDefaults: the resulting state, in the same form as the response of GetFolderUIState.

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

FieldTypeDescription
folder_uistateFolderUIStateThe caller's display settings after the reset.
folder_uistate.folder_idUISettingsFolderIDThe ID that describes the folder.
folder_uistate.folder_id.typeUISettingsFolderTypeThe type that describes the folder whose UI settings are being retrieved.
folder_uistate.folder_id.viewint32If not zero, specifies the view where the folder is located.
folder_uistate.folder_typeShellFolderTypeSpecifies shell folder type.Values: SHELL_FOLDER_TYPE_NORMAL (0), SHELL_FOLDER_TYPE_OBJECT_HISTORY (2), SHELL_FOLDER_TYPE_NON_OBJECT_ITEMS (3), SHELL_FOLDER_TYPE_RELATIONSHIPS (4), SHELL_FOLDER_TYPE_SUBOBJECTS (5), SHELL_FOLDER_TYPE_COLLECTION_MEMBERS (6), SHELL_FOLDER_TYPE_DELETED_CONFLICT_HISTORY (7).
folder_uistate.show_right_paneboolSpecifies whether the right pane is displayed.
folder_uistate.show_bottom_paneboolSpecifies whether the bottom pane is displayed.
folder_uistate.is_bottom_pane_minimizedboolSpecifies whether the bottom pane is minimized.
folder_uistate.is_right_pane_minimizedboolSpecifies whether the right pane is minimized.
folder_uistate.show_metadata_editorn_right_paneboolSpecifies whether the metadata editor is displayed in the right pane. If false, the metadata editor appears in the bottom pane.
folder_uistate.is_hit_highlighting_enabledboolSpecifies whether hit highlighting in file content is enabled.
folder_uistate.bottom_pane_heightint32Specifies the bottom pane height. The height is relative to the size of the frame window holding the bottom pane bar.
folder_uistate.right_pane_widthint32Specifies the right pane width.
folder_uistate.show_task_paneboolSpecifies whether the task area is displayed.
folder_uistate.is_task_pane_minimizedboolSpecifies whether the task area is minimized.
folder_uistate.listing_ui_stateFolderListingUIStateThe listing UI state.
folder_uistate.listing_ui_state.columns[]repeated FolderListingColumnThe Columns.
folder_uistate.listing_ui_state.column_sorting[]repeated FolderListingColumnSortingThe ColumnSortings.
folder_uistate.listing_ui_state.view_modeFolderListingViewModeThe listing view mode.Values: FOLDER_LISTING_VIEW_MODE_UNINITIALIZED (0), FOLDER_LISTING_VIEW_MODE_ICON (1), FOLDER_LISTING_VIEW_MODE_SMALL_ICON (2), FOLDER_LISTING_VIEW_MODE_LIST (3), FOLDER_LISTING_VIEW_MODE_DETAILS (4), FOLDER_LISTING_VIEW_MODE_THUMBNAIL (5), FOLDER_LISTING_VIEW_MODE_TILE (6), FOLDER_LISTING_VIEW_MODE_THUMBSTRIP (7), FOLDER_LISTING_VIEW_MODE_CONTENT (8).
folder_uistate.listing_ui_state.item_grouping_modeFOLDERLISTINGITEMGROUPINGMODEFLAGSThe listing item grouping mode.
folder_uistate.listing_ui_state.icon_sizeint32The listing item icon size.
folder_uistate.listing_ui_state.results_per_pageuint32The results per page option.