IRPCLogin.GetClientSettingsByType

View as Markdown

Vault API / core session no session

Gets client settings (theme, timeouts, banners, web security settings) for an M-Files web, desktop or Outlook client.

ServiceLogin and sessions MFiles.IRPCLogin
gRPC method/MFiles.IRPCLogin/GetClientSettingsByType
HTTP (mf-http-grpc)POST /grpc/v1/get-client-settings-by-type
RequestGetClientSettingsByTypeRequest
ResponseGetClientSettingsByTypeResponse
Book and levelVault API, core
Kindsession
SessionNot needed: the call can be made before logging in.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Used by M-Files' own web and desktop clients; applications rarely need it. Only vNext, web and Outlook client types are supported; other types, including CLIENT_TYPE_SERVER_API, fail with E_NOTIMPL.

Request: GetClientSettingsByTypeRequest

Struct for Client settings request data.

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

FieldTypeDescription
vault_guidstringThe GUID of the vault whose client settings to get.
host_namestringThe host name of the client computer.
client_typeClientTypeSpecifies the type of client( Desktop, Web, etc).
client_setting_flagCLIENTSETTINGFLAGSFlags that control this operation.
client_setting_flag.allboolSpecifies all flags set; Including any future flags.
client_setting_flag.themeboolTheme flag
client_setting_flag.session_timeoutboolClient session timeout.
client_setting_flag.default_web_clientboolDefault Web Client.
client_setting_flag.add_in_settingsboolAddin Settings.
client_setting_flag.default_web_client_iisboolDefault Web Client for IIS.
client_setting_flag.web_access_corsboolCORS settings of Classic web access.
client_setting_flag.migrate_classic_web_urlboolRedirect classic web urls.
client_setting_flag.migrate_web_link_to_online_webboolMigrate web links to online web app (Account layer).
client_setting_flag.custom_bannerboolCustom banner flag
client_setting_flag.idle_session_timeoutboolIdle session timeout.

Response: GetClientSettingsByTypeResponse

Struct for Client settings information.

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

FieldTypeDescription
theme_configurationThemeConfigurationThe vault's UI theme (colors and logos) for the client.
theme_configuration.web_logostringThe Web logo.
theme_configuration.web_login_logostringThe Web login logo.
theme_configuration.fav_iconstringThe Fav icon.
theme_configuration.accent_colorstringThe Accent color.
client_session_timeout_in_secondsuint32The client session timeout in seconds.
dns_of_vaults_for_web[]repeated stringThe list of Vault DNS for Web(vNext) which marked as Default Web Client.
web_security_and_cors_settingsSecurityAndCorsSettingsThe Web Access Cross origin settings.
web_security_and_cors_settings.enable_cross_origin_web_access[]repeated stringThe cross origin domain access for classic web.
web_security_and_cors_settings.cross_origin_headersstringThe allowed cross-origin Header like Content-Type, X-Authentication, Access-Control-Allow-Origin.
web_security_and_cors_settings.cross_origin_methodsstringthe allowed cross-origin Methods like PUT,POST,DELETE,GET.
web_security_and_cors_settings.prevent_xfsboolTrue to Prevent XFS, false to allow XFS.
web_security_and_cors_settings.allowed_cross_frame_sites[]repeated stringThe cross-frame sites access for classic web.
classic_web_urlmigrate_settingsNamedValueArrayMigrate classic web url settings.
classic_web_urlmigrate_settings.value[]repeated NamedValueAn array of the NamedValue structures.
classic_web_urlmigrate_settings.value[].keystringThe name of the value.
classic_web_urlmigrate_settings.value[].valueTypedValueThe value as a serialized bytearray.
enable_web_link_migration_to_online_webboolIf true, migrate the web links to online web app(Account layer).
custom_banner_configurationCustomBannerConfigurationThe custom banner configuration.
custom_banner_configuration.colorstringThe background color.
custom_banner_configuration.content[]repeated CustomBannerConfigurationContentArray of banner content.
custom_banner_configuration.content[].typestringThe type of the custom banner content.
custom_banner_configuration.content[].textstringThe text of the custom banner content.
custom_banner_configuration.content[].valuestringThe value of the custom banner content.
custom_banner_configuration.font_colorstringThe font color.
custom_banner_configuration.font_familystringThe font family.
custom_banner_configuration.font_typestringThe font type.
idle_session_timeout_in_secondsuint32The idle session timeout in seconds.