# WOPIActionType

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

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

WOPI Action type enumeration.

- **Full name:** `MFiles.WOPIActionType`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-WOPIACTION_TYPE_VIEW"></a>`WOPIACTION_TYPE_VIEW` | 0 | View Action type for viewing the object in Online viewer. |
| <a id="v-WOPIACTION_TYPE_EDIT"></a>`WOPIACTION_TYPE_EDIT` | 1 | Edit Action type for editing the object in Online viewer. |
| <a id="v-WOPIACTION_TYPE_COAUTHORING"></a>`WOPIACTION_TYPE_COAUTHORING` | 2 | CoAuthoring Action type for performing CoAuthoring operations in Online viewer. |

<a id="used-in-fields"></a>

## Used in fields

- [`WOPIUserSession.action_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WOPIUserSession/index.md#f-action_type): The WOPI Action type.
