Skip to main content
Version: 26.0.30

Import Staff

Use Import Staff when you need to create or update many staff accounts from a spreadsheet. The importer validates rows before saving so admins can fix role, library, phone, email, date, password, and image problems before accounts are created.

Screenshot To Add

Add screenshots of the Import Staff popup: upload area, template download, validation preview table, row error list, progress area, and completed report.

Before You Start

Prepare these first:

  1. Create staff roles in Settings > Staff Roles.
  2. Create libraries in Settings > Library Manager.
  3. Confirm the organization country code and date format.
  4. Prepare optional profile images in a ZIP file.

Download The Template

  1. Open Settings > Staff Accounts.
  2. Click Import Staff.
  3. Click Download sample template.

The template includes supported headers, a guidance row, and one example row. Row 2 is ignored during import.

How Column Headers Are Matched

The first row is the header row. Libcodesk reads each header, normalizes it, and matches it to a supported staff field.

  • Column order does not matter.
  • Header matching is not case-sensitive.
  • Spaces and underscores are handled where supported.
  • Supported aliases are detected automatically, so Photo, Image, and Profile Image can point to the same staff image field.
  • Extra unsupported columns are ignored safely.
  • Use clear English headers for import mapping. Data values can still be multilingual.

Supported Header Keywords

FieldRecommended HeaderAccepted Examples
Staff IDStaff IDstaff_id, employee id, employee_id, employee no, emp id, emp code
NameFull Namename, staff name, employee name
EmailEmaile-mail, official email, mail
Dialing CodeDialing Codecountry code, phone code
CountryCountrycountry name
Country ISOCountry ISOiso, iso code
PhoneMobile Numberphone, mobile, contact number, contact no
DesignationDesignationjob title, title, position
Date of JoiningDOJjoining date, joining_date, date of joining, date_of_joining
RoleRolestaff role, role name
LibrariesLibrarieslibrary, library name, library access
StatusStatusaccount status
PasswordPasswordtemporary password, temp password
PhotoPhotoimage, profile image, profile photo, photo filename

Dates And Phone Numbers

Dates must match the organization date format shown in the import popup. Single-digit day or month values are accepted for the matching format, so 1/8/2001 and 01/08/2001 are both valid when the organization format is d/m/Y.

If dialing code is blank, Libcodesk uses the organization country code. Do not type the country code again inside the phone number; duplicated country code is reported as an error.

Roles And Libraries

Role names are matched against existing staff roles. Library names are matched against existing libraries.

  • Blank Libraries gives access to the main library.
  • Unmatched library names block that row.
  • Role and library matching is case-insensitive where supported by the app.

Profile Images

Profile image ZIP is optional. Use filenames in the spreadsheet Photo column. Supported images are JPG, JPEG, PNG, and WEBP.

Missing optional images show warnings. Corrupt or unsupported files are reported in the preview.

Validate And Import

  1. Select the spreadsheet.
  2. Optionally select the profile image ZIP.
  3. Choose import mode.
  4. Click Validate.
  5. Review the preview table.
  6. Fix rows with errors and retry validation, or import valid rows.

Rows with multiple errors show them as a numbered list so staff can correct one row at a time.

Handling Import Errors

Use the preview as the working checklist. Import becomes much smoother when you correct the spreadsheet first, then validate again.

How To Read The Preview

Preview StatusMeaningWhat To Do
OKThe row passed validation.It can be imported.
WarningOptional data has an issue.Review the warning; missing optional images are common.
ErrorRequired or unsafe data is wrong.Fix the row and validate again.

Rows with multiple issues show a numbered list. Start with required fields, then duplicates, then optional warnings.

Common Errors And Fixes

ErrorWhy It HappensFix
Missing nameFull Name is blank.Fill the staff name.
Invalid emailEmail is blank, malformed, or already used.Use a valid unique email.
Duplicate Staff IDStaff ID appears twice or already exists.Use a unique Staff ID or clear it if not required.
Duplicate phonePhone number already exists or appears twice in the file.Correct the phone number.
Phone includes country codeThe country code is typed inside the phone number.Keep the dialing code in Dialing Code and the local number in Mobile Number.
Role not foundRole name does not match an existing role.Create the role first or correct the Role cell.
Unmatched libraryLibrary name does not exist.Correct the name or leave Libraries blank for main library access.
Invalid DOJ/dateDate does not match organization date format.Use the format shown in the import popup; for d/m/Y, values like 1/8/2001 and 01/08/2001 are both valid.
Image missingPhoto filename is not found in the ZIP.Add the image or clear Photo if image is optional.
Image invalidFile is corrupted or unsupported.Replace with JPG, JPEG, PNG, or WEBP.

Smooth Import Workflow

  1. Create roles and libraries before importing.
  2. Download a fresh template.
  3. Test with a small staff file first.
  4. Validate and fix all blocking errors.
  5. Retry validation after correcting the spreadsheet.
  6. Import valid rows.
  7. Keep the import report for failed rows and retry only corrected rows.

For larger staff lists, use XLSX when possible and keep image ZIP filenames simple and unique.

Import Modes

ModeWhat It Does
Create New OnlyCreates staff rows that do not already exist.
Update Existing OnlyUpdates rows that match existing staff.
Create + UpdateCreates new rows and updates matching existing rows.

Do And Don'ts

Do
  • Use the template headers exactly when possible.
  • Keep role and library names consistent with the app.
  • Use Excel for multilingual staff names and addresses.
  • Check the import report after completion.
Don't
  • Don't use manual comma splitting for CSV files; always upload the spreadsheet through the import popup.
  • Don't include unsupported files inside the image ZIP.
  • Don't ignore duplicate email, phone, or Staff ID errors.
  • Don't mix different date formats in one spreadsheet.

FAQ

Can extra spreadsheet columns be included?

Yes. Unsupported columns are ignored safely. Recognized fields still validate and import.

What happens if Libraries is blank?

The staff account receives access to the main library by default.

Can images be inside folders in the ZIP?

Yes. The importer scans nested folders and matches image filenames case-insensitively.

Why is my phone row rejected?

Common causes are duplicate phone numbers or typing the country code inside the phone number when the dialing code is already provided.

Can I import staff without images?

Yes. Profile images are optional for staff import.