﻿# Folder tree in the folder hierarchy

> [HTML Version](folder_tree.html)

Users can arrange app items by certain parameters and group them into folders. For this purpose, a folder hierarchy is enabled in the app and a folder tree is configured.

**(folder-tree-1.png)**



## Set up a folder tree

````
начало внимание

````
Only the [system administrator](360006871932.md#administrators) can enable the hierarchical folder and create its filters.

````
конец внимание

````
To configure the folder structure:

1. Click the gear icon next to the app name to open the app menu and select **Folder Hierarchy**.

2. Tick the **Enable folder hierarchy** option.

## (folder-tree-2.png)

3. Grant employees the rights to [modify the folder tree](#folder-actions): move, change the name, delete folders and their filters, and set access rights to certain folders. To do this, in the **Who can modify the folder hierarchy** field, select a user, group, or org chart item.

Make sure that in the [access settings set for folders](folder-rights.md) the selected users have the permission to view app data.

4. Click **Save**. The **All items** filter will appear under the app name.

5. Add folders by clicking the pencil icon next to the **All items **filter.

6. Create a nested folder structure. Click on the gear icon next to the desired folder and select **Add Child Folder** in the menu that opens.

7. Once you’ve created and configured the folder tree, click on the cross to the right of the **All items** filter to finish editing.

To allow users to sort items into folders, make sure that the [Folder Navigation](navigation.md) widget is placed on the create or edit forms. Please note that you cannot move the item to another folder on the view form.

## Change folder hierarchy

You can perform the following actions in the folder hierarchy:

- **Rename**. Specify a new name for the folder in the same manner as when creating a new folder.

- **Move**. Select a folder in your folder tree to move the current folder to it.

- **Permissions**. Configure [access rights for a particular folder](folder-rights.md#folder-access). You can also manage the inheritance of general access permissions configured for all folders within an app:

	- When the **Inherit permissions from the parent folder **option is enabled, access to the folder remains available to employees with general permissions. You can specify other users who will see the folder in the left menu.

	- If the option is disabled, users are given individual permissions for a specific folder. Only these employees will be able to work with its items.

- **Delete**. Delete the folder. All nested sub-folders will also be deleted. App items will still be available through the **All items** filter.

To open the folder actions menu, click the pencil icon next to the **All items** filter. Then click the gear icon next to the name of the folder you need. A menu with available folder actions will open.

The folders can be edited by the system administrator and users with [permission to modify the folder hierarchy](#rights-to-change-doctree).

## Create folder filters

The administrator can set up a quick search for items grouped by certain parameters among the folders of the hierarchy. You can apply folder filters for this purpose.

Such a filter is displayed in the folder tree: its name is italicized.

To create a new folder filter, open the search by parameters page, fill in the necessary fields, and click **Save as Folder Filter**.

**(folder_tree_01.png)**

After adding a filter, the administrator and users with [permission to modify the folder hierarchy](#rights-to-change-doctree) can rename, move, or delete the filter. To do that, click the pencil icon next to the **All items** filter. Then click the gear icon next to the name of the folder you need and select an appropriate menu item.

## Export and import the folder tree

When [exporting](360009669292.md) an app with a configured folder hierarchy, all folders created will also be exported. If you import this app into another workspace or company, the entire folder structure will be retained.