Skip to main content

Folder management menu component

Level: beginner

Use the Folder management menu component to open the page folder tree.

View the example of a configuration object that opens the page folder tree below.

Example of a configuration object that opens the page folder tree
{
"type": "crt.FolderTreeActions",
"caption": "Folders",
"name": "MyFolderTree",
"sourceSchemaName": "ContactFolder",
"folderTreeVisibleChanged": {
"request": "crt.OpenModalFolderTreeRequest",
"params": {
"folderTreeConfig": {
"caption": "Select folder",
"sourceSchemaName": "ContactFolder",
"rootSchemaName": "Contact"
}
}
}
}

string type

Component type. crt.FolderTreeActions for the Folder management menu component.


string caption

Component caption.


string name

Component name.


string sourceSchemaName

Entity schema that stores a list of folders.


string activeFolderName

Out-of-the-box selected folder. Required.


object folderTreeVisibleChanged

The crt.OpenModalFolderTreeRequest base request that opens a list of folders.