# ExternalRepositoryIcon

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Struct for external repository icon and mapping information.

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-id"></a>`id` | [`ExternalRepositoryID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExternalRepositoryID/index.md) | 1 | The icon ID (external repository name and icon ID). |
| <a id="f-data"></a>`data` | [`Bytes`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Bytes/index.md) | 2 | The icon as an .ICO file byte presentation. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCViews.GetExternalRepositoryIcons](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViews/GetExternalRepositoryIcons/index.md): Gets icons that external repository connections provide for their views and objects.

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

## Used in fields

- [`GetExternalRepositoryIconsResponse.icons`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViews/GetExternalRepositoryIcons/index.md#response): The icons; see [ExternalRepositoryIcon](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExternalRepositoryIcon/index.md).
