# ViewLocation

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

Struct for a view location.

- **Full name:** `MFiles.ViewLocation`
- **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_folder"></a>`parent_folder` | repeated [`Folder`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Folder/index.md) | 1 | Array of folders describing the parent folder of the view. The first element of the array must be a view folder. Other elements, if any, are property folders. |
| <a id="f-customizes_property_folder"></a>`customizes_property_folder` | `bool` | 2 | True if the view is overlapping with a property folder. |
| <a id="f-customized_property_folder"></a>`customized_property_folder` | [`TypedValue`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValue/index.md) | 3 | The overlapped property folder. Ignored if bOverlapping is false. |

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

## Used by methods

- [IRPCValueLists.CreateFolderTree](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/CreateFolderTree/index.md): Creates a tree of traditional folders under one anchor in one transaction: either every folder is created or the call fails and nothing is saved.
- [IRPCViews.CreateSubFolder](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViews/CreateSubFolder/index.md): Creates a traditional folder at a location inside a view, or returns an existing folder with the same name there.

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

## Used in fields

- [`View.location`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.View/index.md#f-location): The location of the view. Valid only if bHasParent is true.
- [`CreateFolderTreeRequest.view_location`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/CreateFolderTree/index.md#request): The anchor view location. Required for the viewLocation anchor, not allowed for the others.
- [`CreateSubFolderRequest.view_location`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCViews/CreateSubFolder/index.md#request): The location in the view: `parent_folder` starts with the view folder.
