Move RIS folder
rillsoft_folder_ris_moveMove a project folder and its subfolders/projects under or beside another folder on the Rillsoft Integration Server, choosing child or sibling position. Applies immediately; no undo.
Instructions
Moves a project folder of the logged-in client on the Rillsoft Integration Server under another folder or next to it, with its subfolders and projects - dragging in the folder dialog, plus the sibling positions the server offers. A folder cannot go under itself or one of its subfolders (ris_folder_cycle). Renaming is rillsoft_folder_ris_update; a project changes its folder through rillsoft_project_ris_save_as. Takes effect at once: no undo step. Runs with the login of the desktop session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | id of the folder to move, from rillsoft_folder_ris_list | |
| position | No | where it lands relative to targetFolderId; last_child (the default) is what dragging in the dialog does | last_child |
| targetFolderId | Yes | the folder it is placed under (first_child, last_child) or next to (prev_sibling, next_sibling) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | left index of the nested-set tree | |
| name | Yes | name of the folder | |
| path | Yes | names from the root, joined by ' / ' | |
| uuid | Yes | UUID of the folder | |
| depth | Yes | 0 at a root folder, 1 below it, and so on | |
| right | Yes | right index of the nested-set tree | |
| folderId | Yes | id of the folder on the server; what the other folder tools and rillsoft_project_ris_save_as take | |
| description | Yes | description; empty when none is set | |
| folderCount | Yes | subfolders directly below this folder | |
| projectCount | Yes | projects lying directly in this folder (subfolders not counted) | |
| parentFolderId | No | id of the parent folder; missing at a root folder |