Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:adm:roles_-_import_data_from_csv [2019/07/09 06:44]
doischert
tutorial:adm:roles_-_import_data_from_csv [2019/07/09 07:01]
doischert
Line 23: Line 23:
  
 Now we will create the new LongRunningTask (LRT). As shown in the picture, go to Settings → Task scheduler → Scheduled tasks and hit green "Add" button to add new LRT. Now we will create the new LongRunningTask (LRT). As shown in the picture, go to Settings → Task scheduler → Scheduled tasks and hit green "Add" button to add new LRT.
 +
 +{{ :tutorial:adm:03_scheduler.png?direct&1200 |}}
  
 ==== Fill all attributes ==== ==== Fill all attributes ====
Line 31: Line 33:
 - Import csv file - dropzone to select or drop csv file - Import csv file - dropzone to select or drop csv file
 - Column with roles - Name of the column with roles in csv file - Column with roles - Name of the column with roles in csv file
-- Column with description - name of the column with role description, can be also used to update description +- Column with description - name of the column with role description, can be also used to update description (if your CSV file doesn't contain descriptions, i.e., you are not setting description for any of your roles, leave this line empty)  
-- Column with attributes - name of the column with role attributes, can be also used to update attributes+- Column with attributes - name of the column with role attributes, can be also used to update attributes (if your CSV file doesn't contain attributes, i.e., you are not setting attributes for any of your roles, leave this line empty)
 - Form definition code - the code for the definition which will contain the added attributes - Form definition code - the code for the definition which will contain the added attributes
 - Column separator - separator of columns in csv file (default ; ) - Column separator - separator of columns in csv file (default ; )
-- Multi value separator - (Char, default: new line) separator of multi valued role names in the csv file, new line separator is default export from excel, but for better clarity of csv file, it's recommended to use some symbol instead+- Multi value separator - (Char, default: new line) separator of multi valued role names in the csv file, new line separator is default export from excel, but for better clarity of the csv file, it's recommended to use some symbol instead
 - System name - name of the system to connect with roles - System name - name of the system to connect with roles
-- MemberOf attribute name - ( default: rights ) - name of multi valued attribute for merge, attribute named "rights" is automatically created on every virtual system, but you can create your own and change setup of LRT +- MemberOf attribute name - (default: rights) - name of multi valued attribute for merge, attribute named "rights" is automatically created on every virtual system, but you can create your own and change setup of LRT 
-- Can be requested - ( Boolean ) - Fills can be requested, can be also used to update already imported settings+- Can be requested - (Boolean) - Fills can be requested, can be also used to update already imported settings
  
 <note important>If you are updating the roles, make sure to set the same form definition the role already have. Also, each role can only have one definition, so if you by mistake set a different definition in the LRT configuration, you will without any doubt get an error. Generally, DO NOT use this LRT to change the definition of a role. You can only change the definition if the role has no attributes set yet.</note> <note important>If you are updating the roles, make sure to set the same form definition the role already have. Also, each role can only have one definition, so if you by mistake set a different definition in the LRT configuration, you will without any doubt get an error. Generally, DO NOT use this LRT to change the definition of a role. You can only change the definition if the role has no attributes set yet.</note>
  
-{{:tutorial:adm:import-roles-lrt.png?500|}}+{{ :tutorial:adm:01_conflrt.png?direct&600 |}} 
 +{{ :tutorial:adm:02_conflrt2.png?direct&600 |}} 
 ==== Run the task ==== ==== Run the task ====
  
Line 48: Line 52:
  
 {{:tutorial:adm:aaaaaaaa6.png?100|}} {{:tutorial:adm:aaaaaaaa6.png?100|}}
- 
- 
-{{:tutorial:adm:aaaaaaaa7.png?400|}} 
  
 You can check the status of the created roles in the "all tasks" panel in the task detail. Here you can find information about roles created, updated, or already existing. You can check the status of the created roles in the "all tasks" panel in the task detail. Here you can find information about roles created, updated, or already existing.
  
 At this point, everything should be set up and when the task ends, roles are imported in IdM with their attributes, placed in the catalogue named by the system name. At this point, everything should be set up and when the task ends, roles are imported in IdM with their attributes, placed in the catalogue named by the system name.
 +
 +{{ :tutorial:adm:04_resultrole.png?direct&1200 |}}
  
 ==== Known issues ==== ==== Known issues ====
  • by apeterova