Importing personnel from Excel or CSV
Instead of entering the personnel details you have one by one, you can import them with an Excel or CSV file. The import is previewed first; you see what happens to each row before anything is written.
Importing needs the permission to edit personnel files. Employees themselves are not created by the import: the people must already be in the Employees list. Every row in the file finds the person by their employee code.
Opening the dialog
Section titled “Opening the dialog”On Personnel → Personnel files, click Import. The Import personnel data dialog opens.
1. Download the template
Section titled “1. Download the template”- Excel template (.xlsx): Holds three sheets: Personnel (personal details, PPE sizes, custom fields), Education and Certificates. There is also a Help sheet describing every column.
- CSV template: A CSV file is one sheet. In the Sheet of the CSV template list, pick the one you want: Personal info, Education or Certificates.
The template is prepared for your company: it has a ppe_CODE column for each PPE size type and a cf_key column for each
custom field.
Filling in the template
Section titled “Filling in the template”- In each row’s
employee_codecolumn, write the employee’s code exactly, for exampleEMP-1042. - The Personnel sheet: personal details, address, at most three emergency contacts (
emergency1_…,emergency2_…,emergency3_…), PPE sizes and custom fields. One row per person. - The Education sheet: one row for each education record. A record is matched by level + school; a matching record is updated, a non-matching one is added.
- The Certificates sheet: one row for each certificate. A record is matched by its certificate number, or by name + issue date if there is no number.
- The full list of columns and their formats is on the template’s Help sheet.
Rules:
- An empty cell does not change the stored value. You cannot delete a value with the import; to delete one, edit the file by hand.
- A column that is not in the file changes nothing.
- If you write emergency contacts in a row, that person’s emergency contact list is replaced with the ones in the row.
- Imported certificates are Approved at once.
2. Choose the file and preview it
Section titled “2. Choose the file and preview it”- Pick your file with Choose file. Limits: at most 5000 rows and 4 MB; .xlsx or UTF-8 .csv. In a CSV the separator can be a comma or a semicolon.
- Click Preview. Nothing is written.
- Read the summary line, for example “Preview: 240 rows. 180 new, 50 to update, 6 unchanged, 4 with errors.”
- Look at the row table. Columns: Sheet, Line, Employee code, Person, Action, Details. The actions:
| Action | Meaning |
|---|---|
| New | A new record will be created (file, education or certificate). |
| Update | An existing record will change. Details: “Changed columns: …”. |
| No change | The row is the same as the stored values. |
| Error | The row will not be written. Details says why. |
See only the problem rows with Only rows with errors. For files with many rows, the first rows are shown.
Common row errors
Section titled “Common row errors”- The employee code was not found.
- An invalid national id, country code, date, year or number.
- A PPE size that is not one of the type’s allowed values.
- A value that does not fit the custom field’s type, an option not on the list, or a required field left empty.
- An inactive custom field or PPE type.
- An emergency contact’s name or phone is missing.
- An end date or year before the start.
- The same record appears twice in the file, or the row fits more than one record.
- Text that is too long.
Errors that reject the whole file
Section titled “Errors that reject the whole file”A CSV that is not UTF-8, an Excel file that cannot be read, a workbook without a recognized sheet, an unknown, duplicated or missing required column, a file without rows, more than 5000 rows. In that case fix the file and choose it again.
3. Apply
Section titled “3. Apply”- If the preview looks right, click Apply.
- Only the rows without errors are written; rows with errors are skipped.
- The result: “Imported: 240 rows. 180 new, 50 updated, 6 unchanged, 4 rows with errors skipped.”
You can fix the rows with errors and import the same file again: rows written before become No change and nothing is written twice. If there is nothing to write, it says “There is nothing to write.”
Every import is written to the audit trail.