# FolderTreeAnchorType

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

Where a folder tree is attached.

- **Full name:** `MFiles.FolderTreeAnchorType`
- **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-FOLDER_TREE_ANCHOR_TYPE_UNSPECIFIED"></a>`FOLDER_TREE_ANCHOR_TYPE_UNSPECIFIED` | 0 | Not specified. Rejected. |
| <a id="v-FOLDER_TREE_ANCHOR_TYPE_TRADITIONAL_ROOT"></a>`FOLDER_TREE_ANCHOR_TYPE_TRADITIONAL_ROOT` | 1 | The top level of the Traditional Folders. |
| <a id="v-FOLDER_TREE_ANCHOR_TYPE_FOLDER"></a>`FOLDER_TREE_ANCHOR_TYPE_FOLDER` | 2 | An existing Traditional Folder. |
| <a id="v-FOLDER_TREE_ANCHOR_TYPE_VIEW_LOCATION"></a>`FOLDER_TREE_ANCHOR_TYPE_VIEW_LOCATION` | 3 | The top level of a Workspace view location. |

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

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

## Used in fields

- [`CreateFolderTreeRequest.anchor_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/CreateFolderTree/index.md#request): Where the tree is attached.
