12.2:documentation:modules_extras:import_code_list_an_it_s_items

Import code list and it's items

Since 1.9.0 LTS or 2.4.0 depends on version of IdM

LRT has some configuration options which must be filled.

  • CSV with values for import - Required - CSV file with two columns "key" and "value" the order of columns is not checked
  • Code of code list - Required - This value will be used as Code of the code list
  • Name of code list - Required - This value will be used as Name of the code list
  • Description of code list - This value will be used as Description of the code list
  • Separator of csv file - Separator of columns, default is ";"
  • File encoding - Encoding of CSV file, default is utf-8
  • EAV attribute name prefix - fill prefix for EAV names. For example "attName" see example below
  • EAV attribute value prefix - fill prefix for EAV values. For example "attValue" see example below
Task is able to create dynamic number of EAV. Only requirement is to have same columns names so it can be found by the prefix. LRT will then append number to the end of the name starting from 1

Example CSV

key;value;attName1;attValue1;attName2;attValue2
100;one;segment;AAAAA;area;Ddddd
200;tow;segment;bbbbb;area;Eeeee
300;three;segment;Ccccc;area;Fffff