IMPORTING AND EXPORTING DIRECTORIES
PLAN-R supports importing directories from .xlsx files. During import, PLAN-R checks entry uniqueness using the code attribute and uses it according to the selected import scenario. If the imported file contains duplicate code values, the directory import is stopped and the message “Import is not allowed: the directory contains non-unique code values” appears.
The imported file must meet the following structure requirements:
- The “Directory Records” sheet (1) must contain a table listing the directory’s own attributes (2) in the second row, their types (3) in the first row, and directory entries with all attribute values (4) in the third and subsequent rows.
Imported directory structure: Directory Records sheet
- The “Linked Attribute” sheet (1) must contain a table with a “Название” field listing directory assignment attributes (2), starting from row 2, and a “Тип” field listing the corresponding types of those attributes (3).
Imported directory structure: Linked Attribute sheet
To import a new directory, specify its scope (1) and click the import button (2). In the window that opens, select the .xlsx directory file (3), choose “Create a new directory” (4), enter the imported directory name (5), and click “Execute” (6). After import, the directory appears in the list of available directories for the selected node and all its child nodes.
PLAN-R provides the following directory import scenarios:
- Create a new directory — creates a directory from the imported file. Select the directory file, enter a name for the imported directory, and click “Execute”. The new directory appears in the corresponding list.
- Update the data — updates data in an existing directory. Select the directory file, select the target directory from the directory list, and click “Execute”. The new data appears in the directory.
- Delete data — selectively deletes data from an existing directory using the imported file. Select the directory file, select the target directory from the directory list, and click “Execute”. Values matching those in the imported file are deleted from the target directory.
Importing a directory into PLAN-R
To export a directory from PLAN-R, select it with the left mouse button (1) and click “Export directory” (2). The directory is saved to your device as an .xlsx file.
PLAN-R also lets you export and import directories together with their assignments to schedule activities. To export a directory with assignments, select the schedule containing the assignments (3) in the Scope area, select the required directory, and click “Export directory with assignments” (4). The directory is saved to your device as an .xlsx file.
A directory can be edited at the node where it was created. Click the “Inherited” icon (5) to navigate to that node.
Exporting a directory with assignments
To import a directory with assignments, select the required schedule (1) in the Enterprise Project Structure and click “Import directory with assignments” (2). In the window that opens, add the .xlsx directory file (3), select an import scenario (4), specify the imported directory name (5), and click “Execute” (6). After import, the directory and its assignments appear in the list of available directories for the selected node.
Importing a directory with assignments