# IRPCTaskPaneConfigurations.PublishCurrentTaskPaneConfigurationAsCommonConfiguration

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Task pane configurations](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/PublishCurrentTaskPaneConfigurationAsCommonConfiguration/

Badges: `Vault API / standard` `write` `session` `idempotent` `returns metadata structure version`

Publishes the calling user's current task pane configuration as the common configuration for all
users.

- **Service:** [Task pane configurations](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/index.md) `MFiles.IRPCTaskPaneConfigurations`
- **gRPC method:** `/MFiles.IRPCTaskPaneConfigurations/PublishCurrentTaskPaneConfigurationAsCommonConfiguration`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/publish-current-task-pane-configuration-as-common-configuration`
- **Request:** [`PublishCurrentTaskPaneConfigurationAsCommonConfigurationRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/PublishCurrentTaskPaneConfigurationAsCommonConfiguration/index.md#request)
- **Response:** [`PublishCurrentTaskPaneConfigurationAsCommonConfigurationResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/PublishCurrentTaskPaneConfigurationAsCommonConfiguration/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** yes (in the mfiles-metadata-version-bin trailer)
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Requires the vault rights `license_allows_modifications` and `manage_common_uisettings`;
  otherwise fails with "Access denied.".
- Copies what [LoadTaskPaneConfiguration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/LoadTaskPaneConfiguration/index.md)
  would return for the caller into the common configuration.
- With `reset_common_configuration_for_all_users` true, the server also overwrites every user's
  own configuration of that data version, adds it for users who have only older versions, and
  deletes newer versions, so all users get the published configuration.

<a id="request"></a>

## Request: PublishCurrentTaskPaneConfigurationAsCommonConfigurationRequest

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

| Field | Type | Description |
|---|---|---|
| `reset_common_configuration_for_all_users` | `bool` | True to also replace the configurations of all users with the published one. |
| `max_data_version_interpretable` | `int32` | The newest data version that the caller understands. |

<a id="response"></a>

## Response: PublishCurrentTaskPaneConfigurationAsCommonConfigurationResponse

No fields.

<a id="related"></a>

## Related methods

- [LoadTaskPaneConfiguration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTaskPaneConfigurations/LoadTaskPaneConfiguration/index.md): Gets the calling user's task pane configuration, falling back to the common configuration and then to the program defaults.
