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
tutorial:adm:automatic_role_definitions_-_import_of_data_from_csv [2020/05/05 13:31]
doischert
tutorial:adm:automatic_role_definitions_-_import_of_data_from_csv [2020/05/26 08:44]
sourek
Line 17: Line 17:
 As you can see roles column can be single or multivalued. For multivalued roles, definition from the same row will be added to every role. As you can see roles column can be single or multivalued. For multivalued roles, definition from the same row will be added to every role.
 CSV file can have an optional number of columns, role and automatic role definitions columns are specified in setup of LRT. CSV file can have an optional number of columns, role and automatic role definitions columns are specified in setup of LRT.
 +
 +<note important>CzechIdM uses by defaul utf-8 encoding. If your input file is encoded in diferent encoding, or if you experience some issues with non english characters, you may set different encoding in configuration of import long running task. Examples of other used encodings might be windows-1250, utf-8 or windows-1252</note>
  
 ==== Create new LongRunningTask ==== ==== Create new LongRunningTask ====
Line 30: Line 32:
 - Import file encoding - the encoding of the csv file - Import file encoding - the encoding of the csv file
 - Column with roles - Name of the column with the names of roles in csv file - Column with roles - Name of the column with the names of roles in csv file
-- Use role codes instead of role names - If checked, tries to find roles by code directly, if not, converts names to codes (replaces spaces with underscores)+- Use role codes instead of role names - If checked, tries to find roles by code directly, if not, converts names to codes (replaces spaces with underscores) (since 1.9.0)
 - 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
 - Column separator - separator of columns in csv file - Column separator - separator of columns in csv file
  • by sourek