Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:adm:import_automatic_roles_on_tree_nodes [2019/11/01 10:03] doischert |
tutorial:adm:import_automatic_roles_on_tree_nodes [2019/11/05 10:08] (current) doischert |
||
---|---|---|---|
Line 3: | Line 3: | ||
<note tip>This tool is a part of the [[devel: | <note tip>This tool is a part of the [[devel: | ||
- | The LRT ImportAutomaticRoleForTreeNodeFromCSVExecutor allows you to import automatic roles which will use tree nodes in their rules. | + | The LRT ImportAutomaticRoleForTreeNodeFromCSVExecutor allows you to import |
Let's prepare a sample CSV file: | Let's prepare a sample CSV file: | ||
Line 9: | Line 9: | ||
< | < | ||
nodename; | nodename; | ||
- | one;;role2;up | + | one;;role2;UP |
- | two;;role2;up | + | two;;role2;UP |
</ | </ | ||
Line 25: | Line 25: | ||
{{ : | {{ : | ||
- | - Import csv file: Use the drop-zone to select the CSV file for your import. | + | - **Import csv file**: Use the drop-zone to select the CSV file for your import. |
- | - Column with node codes: Specify in which column of the CSV file the tree node codes are. This is required. | + | - **Column with node codes**: Specify in which column of the CSV file the tree node codes are. This is required. |
- | - Column with node IDs: Specify in which column of the CSV file the node IDs are. This is quite literally the UUID of the tree node and it is used only if the tree node cannot be found using its code. | + | - **Column with node IDs**: Specify in which column of the CSV file the node IDs are. This is quite literally the UUID of the tree node and it is used only if the tree node cannot be found using its code. |
- | - Column with role codes: Specify in which column of the CSV file the codes of the roles for which you are creating the automatic role are. This is required. | + | - **Column with role codes**: Specify in which column of the CSV file the codes of the roles for which you are creating the automatic role are. This is required. |
- | - Column with recursion type: Specify in which column of the CSV file the recursion types for each automatic role are. You can set different recursion types for your automatic roles. The options | + | - **Column with recursion type**: Specify in which column of the CSV file the recursion types for each automatic role are. You can set different recursion types for your automatic roles. The possible values in the CSV file are 'DOWN' (Down by the structure), 'UP' (Up by the structure), and 'NO' (Without recursion). If you leave this empty or if a line in the CSV file has no recursion type specified, the default Without recursion is used. Make sure to use a capital version in your CSV (e. g., ' |
- | - Column separator: Specify which character is used to separate the columns in the CSV file. Default is ';' | + | - **Column separator**: Specify which character is used to separate the columns in the CSV file. Default is ';' |
Finally, click Save and run the task using the green arrow. | Finally, click Save and run the task using the green arrow. |