Tools - Data Import

About

Data import is a utility for Importing Users and/or Cost Centres from csv file. It is accessible from Managing users in the Users list.

Data Import page is accessible from all following pages on web interface: Users -> Users list/Role list/ Cost Centres -> Actions... -> Data Import

images/download/attachments/21955606/DataImportPage.png

General Overview

On the upper of the Data import page there is a basic file scructure for csv files. In bottom part there is a CSF file character encoding and path to CSV file with data to import.

images/download/attachments/21955606/import.PNG

CSV character encoding

CSV file will be created according to selected encoding listed below.

Action

Description

UTF-8

Data will be exported in UTF-8 encoding

Windows-1250

Data will be exported in Windows-1250 encoding

Windows-1252

Data will be exported in Windows-1252 encoding

ISO-8859-1

Data will be exported in ISO-8859-1 encoding

ISO-8859-2

Data will be exported in ISO-8859-2 encoding

Other

Administrator can select another encoding type

CSV files format

  • Add/update/delete users –[100;add|del;username[,alias,...];name;surname;[card number];cost center number;email;[home directory];[password]]

  • Add/update/delete users with PIN code –[100;add|del;username[,alias,...];name;surname;PIN%pin_code%;cost center number;email;[home directory];[password]]

  • Add/delete card numbers –[200;add|del|clear;username[;card number]]

  • Add/delete PINs –[200;add|del|clear;username[;PIN%pin_code%]]

  • Add, update/delete cost centers –[300;add|del;cost center number[;cost center name]]

  • Set email address for user – [201;username;email address]

  • Set cost center for user – [202;username;cost center number]

 

Data that are exported encrypted (for example PIN codes or passwords) are marked with prefix do_not_convert@@. When YSoft SafeQ imports data from CSV file it looks for this prefix when it tries to decide if input value must be converted via currently set conversion method or not.

 

CSV files examples

  • 300;add;5;Communication

  • 300;add;7;Enterprise and Industry

  • 100;add;villevirtanen;Ville;Virtanen;PIN5555;5;villevirtanen@test.cz;;4MV0b

  • 100;add;jeandupont;Jean;Dupont;268742;7;jeandupont@test.cz;\\share\users\jeandupont;B27Kf

  • 200;add;villevirtanen;268743

  • 200;add;jeandupont;PIN7777

  • 200;add;johndoe;do_not_convert@@PINb59c67bf196a4758191e42f76670ceba