# ViewWithParentLocation

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.ViewWithParentLocation/

Struct for view folder and the parent folder information of the view.

- **Full name:** `MFiles.ViewWithParentLocation`
- **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-parent_location"></a>`parent_location` | repeated [`Folder`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Folder/index.md) | 1 | The location of the view folder. |
| <a id="f-value"></a>`value` | [`View`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.View/index.md) | 2 | Resulting the view. |
| <a id="f-pinned_item_id"></a>`pinned_item_id` | `string` | 3 | The pinned item id is the guid key referencing this item in pinboard. |

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

## Used by methods

- [IRPCSearch.GetFolderContentsOfPinboard](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContentsOfPinboard/index.md): Gets the contents of the Pinboard items.

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

## Used in fields

- [`GetFolderContentsOfPinboardResponse.view_folders_with_parent_location`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContentsOfPinboard/index.md#response): Resulting views.
