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 Both sides next revision
tutorial:adm:roles_-_import_data_from_csv [2019/07/09 06:46]
doischert
tutorial:adm:roles_-_import_data_from_csv [2019/07/09 06:54]
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&600 |}}
  
 ==== Fill all attributes ==== ==== Fill all attributes ====
Line 35: Line 37:
 - 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 52: Line 56:
  
 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&600 |}}
  
 ==== Known issues ==== ==== Known issues ====
  • by apeterova