Data Import & Export Guide
Roles: School Admin, Accountant (for specific exports)
Data Import & Export features allow schools to efficiently manage large volumes of data by uploading CSV/Excel files for bulk operations and exporting data for reporting, backup, or migration purposes. This saves hours of manual data entry and enables easy data transfer between systems.
Import/Export features require appropriate permissions. Ensure you have student-create, staff-create, or exam-marks-create permissions for respective import operations.
Overviewβ
The system supports import and export for:
Import Capabilities:
- Student Bulk Admission - Add multiple students at once
- Staff Bulk Registration - Register multiple staff members
- Teacher Bulk Import - Add teaching staff with subject assignments
- Exam Marks Upload - Bulk upload offline exam results
Export Capabilities:
- Student Data Export - Download student records with custom fields
- Staff Data Export - Download staff records
- Teacher Data Export - Download teacher records
- Exam Marks Export - Download exam results templates
- Various Reports - Export attendance, fees, results as CSV/PDF
Key Features:
- Excel/CSV template-based imports
- Multi-sheet templates with validation guides
- Custom form field support
- Validation before import
- Error reporting with specific row numbers
- Export with current data or blank templates
π₯ Importing Dataβ
Student Bulk Importβ
Import multiple students at once with guardian information and custom form fields.
Step 1: Download the Template
- Go to Students β Bulk Admission (or similar menu path)
- Click Download Template or Export Sample
- An Excel file will download with multiple sheets:
- Main Sheet For Admission - Student and guardian data
- Form Field Values - Valid options for custom dropdowns/checkboxes
Step 2: Fill in the Template
Required Columns:
first_name- Student's first namelast_name- Student's last namemobile- Student's mobile number (10 digits)gender- Either "male" or "female" (lowercase)dob- Date of birth (format: DD-MM-YYYY, e.g., 15-01-2010)admission_date- Date of admission (format: DD-MM-YYYY)current_address- Current residential addresspermanent_address- Permanent addressguardian_email- Guardian's email addressguardian_first_name- Guardian's first nameguardian_last_name- Guardian's last nameguardian_gender- Guardian's gender ("male" or "female")guardian_mobile- Guardian's mobile number
Custom Form Fields:
- Additional columns appear based on your school's custom form fields
- Check the Form Field Values sheet for dropdown/radio/checkbox options
- Required fields must be filled; optional fields can be left blank
- For dropdowns/checkboxes, use exact values from the Form Field Values sheet
Example Row:
first_name: Chukwudi
last_name: Okafor
mobile: 0812345678
gender: male
dob: 15-01-2010
admission_date: 01-09-2025
current_address: 15 Allen Avenue, Ikeja, Lagos
permanent_address: 15 Allen Avenue, Ikeja, Lagos
guardian_email: parent@example.com
guardian_first_name: Ngozi
guardian_last_name: Okafor
guardian_gender: female
guardian_mobile: 0809876543
Step 3: Upload the File
- In the Bulk Admission page, click Choose File or Upload
- Select your completed Excel file
- The system validates the file and shows a preview
- Review any errors (highlighted rows)
- If valid, click Submit or Import
What Happens:
- Student accounts are created automatically
- Guardian accounts are created and linked
- Login credentials are generated (typically email as username)
- Students can be assigned to classes separately (or in the import if supported)
If a guardian email already exists in the system, the new student is linked to that existing guardian account. This allows one guardian to have multiple children in the school.
Common Errors:
- "Invalid date format" - Use DD-MM-YYYY format (e.g., 15-01-2010, not 2010-01-15)
- "Mobile number invalid" - Must be 10 digits, numbers only
- "Gender must be male or female" - Use exact lowercase values
- "Guardian email already exists" - This is OK; student will be linked to existing guardian
- "Required field missing" - Check custom form fields marked as required
Staff Bulk Importβ
Import multiple staff members with employment details.
Step 1: Download the Template
- Go to Staff β Bulk Import or Staff β Import Staff
- Click Download Template
- Excel file downloads with:
- Staff Registration sheet - Main data
- Form Field Values sheet - Custom field options
Step 2: Fill in the Template
Required Columns:
first_name- Staff member's first namelast_name- Staff member's last namemobile- Mobile number (10 digits)email- Unique email address (will be used for login)dob- Date of birth (DD-MM-YYYY)salary- Monthly salary (numbers only, e.g., 50000)joining_date- Date joined the school (DD-MM-YYYY)
Custom Form Fields:
- Additional columns for custom fields (e.g., qualification, department)
- Check Form Field Values sheet for valid options
- Required vs optional fields indicated in template
Example Row:
first_name: Oluwaseun
last_name: Okonkwo
mobile: 0801234567
email: oluwaseun.okonkwo@school.com
dob: 20-05-1985
salary: 75000
joining_date: 01-09-2024
Step 3: Upload
- Click Choose File in the import page
- Select your completed file
- Review validation preview
- Click Import or Submit
What Happens:
- Staff accounts created
- Login credentials generated
- Role assigned (typically "Staff" by default)
- Can assign specific permissions later
Each staff member must have a unique email address. Duplicate emails will cause import errors.
Teacher Bulk Importβ
Similar to staff import but specifically for teaching staff.
Process:
- Download template from Staff β Teachers β Import Teachers
- Fill in required fields (same as staff import)
- Upload and validate
- Teachers are created with "Teacher" role
After Import:
- Assign teachers to subjects (see Teacher-Subject Assignment Guide)
- Set class teacher designations if needed
- Grant additional permissions if required
Exam Marks Bulk Uploadβ
Upload offline exam marks for an entire class at once.
Bulk Marks Upload (Offline Exams)β
Schools can upload offline exam marks in bulk using an Excel/CSV template.
Where youβll find it (typical): Exams β Offline Exams β Select Exam β Mark Entry / Bulk Upload
Template Columnsβ
The exported βdummyβ file includes these columns:
exam_marks_id(optional)student_id(required)student_name(for reference)total_marks(required)obtained_marks(required)
How updates vs new uploads workβ
- First-time upload (new marks): leave
exam_marks_idempty. - Updating existing marks: download the latest dummy file and keep the
exam_marks_idvalues, then re-upload.
If you try to upload new rows (empty exam_marks_id) for a student who already has marks for that exam + subject, the system returns an error like:
"Marks already exist. Please download the latest Dummy file to update marks."
Validation rulesβ
student_idmust be numerictotal_marksmust be numericobtained_marksmust be numeric
The system also calculates:
- pass/fail based on the timetableβs passing marks
- grade based on the configured grade ranges
If grade ranges are not configured, bulk upload may fail with a "Grades data does not exist" type error.
To update marks that were already uploaded:
- Download the latest "Dummy File" - it includes
exam_marks_idfor existing entries - Modify the
obtained_marksortotal_markscolumns - Re-upload the file
- The system updates existing records instead of creating duplicates
π€ Exporting Dataβ
Student Data Exportβ
Download student records with all custom fields for backup or analysis.
How to Export:
- Go to Students β Student List
- Apply any filters if needed (class, section, session year)
- Click Export button (usually shows download or Excel icon)
- Choose format:
- Excel/CSV - For data manipulation
- PDF - For printing or official records
What's Included:
- All student personal information
- Guardian details
- Custom form field values
- Current class/section enrollment
- Contact information
Export Options:
- Blank Template - Download template for bulk admission (no student data)
- Current Students - Export all enrolled students matching filters
Use Cases:
- Backup - Keep offline records of all students
- Analysis - Import into Excel for statistical analysis
- Migration - Transfer data to another system
- Printing - Create student directories
Staff/Teacher Data Exportβ
Download staff or teacher records.
How to Export:
- Go to Staff β Staff List or Staff β Teachers
- Click Export or Download Template
- Choose between:
- Blank Template - For bulk import
- Current Staff - Export existing staff records
What's Included:
- Staff personal information
- Employment details (salary, joining date)
- Custom form field values
- Role assignments
Exam Marks Exportβ
Download exam marks for offline editing or record-keeping.
How to Export:
- Go to Exams β Offline Exams β [Select Exam]
- Choose the class, section, and subject
- Click Download Dummy File or Export Marks
- Excel file downloads with:
- Student names and IDs
- Current marks (if already entered)
exam_marks_idfor updates- Total marks column
Use Cases:
- Offline Entry - Download, fill marks offline, then re-upload
- Updates - Download existing marks, correct errors, re-upload
- Record Keeping - Keep offline copies of exam results
- Printing - Print mark sheets for verification
Report Exportsβ
Most reports in the system can be exported.
Available Report Exports:
Attendance Reports:
- Student attendance (by date range, class, student)
- Staff attendance
- Subject-wise attendance
- See Attendance Reports Guide
Fee Reports:
- Fee collection summary
- Outstanding fees by class/student
- Payment transaction history
Result Reports:
- Exam results by class/student
- Subject-wise performance
- Grade distribution
How to Export Reports:
- Navigate to the report page (e.g., Reports β Attendance Reports)
- Apply filters (date range, class, etc.)
- Click Export or Download
- Choose format:
- CSV - For spreadsheet analysis
- PDF - For printing or archiving
- Excel - For data manipulation
Best Practicesβ
Before Importingβ
1. Prepare Your Data
- β Clean up data in Excel/CSV before upload
- β Ensure all required fields are filled
- β Use consistent date format (DD-MM-YYYY)
- β Remove duplicate rows
- β Verify email addresses are unique (for staff/teachers)
2. Use the Correct Template
- β Always download the latest template from the system
- β Don't add/remove columns from the template
- β Don't change column names
- β Check the Form Field Values sheet for dropdown options
3. Test with Small Batch
- β Upload 5-10 records first to test
- β Verify imported data is correct
- β Then upload the full dataset
4. Backup Before Import
- β Export existing data before bulk import
- β This allows you to restore if something goes wrong
Data Quality Tipsβ
Normalize Names:
β
Good:
Class 9
Class 10
Section A
Section B
β Avoid:
Class 9, Cl 9, Grade 9 (inconsistent)
Section A, Sec A, A (inconsistent)
Date Formats:
β
Correct: 15-01-2010
β Wrong: 15/01/2010, 2010-01-15, 01-15-2010
Gender Values:
β
Correct: male, female (lowercase)
β Wrong: Male, MALE, M, F
Mobile Numbers:
β
Correct: 0812345678 (10 digits)
β Wrong: +234 812345678, 812345678, 0812-345-678
Email Addresses:
β
Correct: john.doe@example.com
β Wrong: john.doe (missing domain), john@@ (invalid format)
Custom Form Fieldsβ
Understanding Field Types:
Text/Textarea Fields:
- Enter any text value
- If required, cannot be left blank
- If optional, can leave blank or enter "N/A"
Number Fields:
- Enter numbers only (e.g., 545454)
- No letters or special characters
Dropdown/Radio/Checkbox Fields:
- MUST use exact values from Form Field Values sheet
- Case-sensitive in some systems
- Copy-paste from Form Field Values to avoid typos
Example:
Form Field Values sheet shows: "Science Stream", "Arts Stream", "Commercial Stream"
β
Correct: Science Stream
β Wrong: science stream, Science, Stream Science
Handling Errorsβ
Common Import Errors:
1. "Invalid date format"
- Problem: Date not in DD-MM-YYYY format
- Solution: Reformat dates in Excel to DD-MM-YYYY (e.g., 15-01-2010)
- Use Excel formula:
=TEXT(A1,"DD-MM-YYYY")if needed
2. "Email already exists"
- Problem: Duplicate email in staff/teacher import
- Solution: Each staff/teacher needs unique email
- For students, duplicate guardian email is OK (links to existing guardian)
3. "Required field missing"
- Problem: Empty cell in required column
- Solution: Check custom form fields; fill all required fields
4. "Invalid value for dropdown"
- Problem: Value doesn't match Form Field Values sheet options
- Solution: Copy exact value from Form Field Values sheet
5. "Grades data does not exist" (Marks Import)
- Problem: Grade ranges not configured
- Solution: Go to Exams β Grades and set up grade ranges first
6. "Student ID not found" (Marks Import)
- Problem: Student ID in file doesn't exist in system
- Solution: Verify student IDs are correct; download latest template
7. "Marks already exist" (Marks Import)
- Problem: Trying to upload new marks for student who already has marks
- Solution: Download latest Dummy File (includes exam_marks_id) to update
After Importβ
Verify Imported Data:
- β Check record count matches uploaded rows
- β Spot-check several records for accuracy
- β Verify custom form field values imported correctly
- β For students, confirm guardians linked properly
- β For staff, confirm roles assigned correctly
Follow-Up Actions:
After Student Import:
- Assign students to classes/sections (if not done in import)
- Assign elective subjects
- Verify guardian accounts created
- Send welcome emails/credentials to parents
After Staff Import:
- Assign specific roles and permissions
- For teachers: Assign subjects (see Teacher-Subject Assignment)
- Set up payroll information if needed
- Send welcome emails with login credentials
After Marks Import:
- Verify grades calculated correctly
- Check pass/fail status
- Generate result reports
- Notify students/parents of published results
Security & Privacyβ
Data Export Securityβ
Best Practices:
- π Exported files contain sensitive data (personal info, grades, salaries)
- π Store exported files securely (password-protected, encrypted drives)
- π Delete old exports when no longer needed
- π Don't share exports via unsecured channels (email, WhatsApp)
- π Limit export permissions to trusted admin staff only
Import Securityβ
Validation:
- β System validates data before import
- β Review validation preview carefully
- β Don't bypass validation errors
- β Incorrect data can affect grades, fees, and attendance tracking
GDPR & Data Protectionβ
If subject to data protection laws:
- π Maintain import/export logs
- π Document who exported what data and when
- π Obtain consent before collecting student/guardian data
- π Provide data export upon request (GDPR "right to access")
- π Support data deletion requests (GDPR "right to erasure")
Troubleshootingβ
"File format not supported"β
Problem: Upload fails with format error.
Solutions:
- Ensure file is .xlsx or .csv format
- Don't save as .xls (old Excel format)
- If using Google Sheets, download as "Microsoft Excel (.xlsx)"
- Don't add extra sheets beyond the template sheets
"Too many rows"β
Problem: Import times out or fails with large files.
Solution:
- Split into batches of 100-200 records
- Upload in multiple batches
- Contact support if you regularly import 500+ records at once
"Column XYZ not found"β
Problem: Template columns were modified.
Solution:
- Download fresh template
- Don't rename, add, or remove columns
- Copy your data to the fresh template
Import Succeeds But Data Looks Wrongβ
Problem: Import completed but data appears incorrect.
Solutions:
- Check date fields - May have imported in wrong format
- Check dropdown values - May have imported as text instead of selected option
- Export data to verify what was actually imported
- If major issues, delete imported records and re-import
Can't Find Import/Export Buttonβ
Problem: Import/Export features not visible.
Solutions:
- Check your user role has required permissions:
student-createfor student importstaff-createfor staff importexam-marks-createfor marks import
- Verify feature is enabled for your school
- Contact admin if permissions are unclear
Permissions Requiredβ
For Import Operations:
student-create- Import studentsstaff-create- Import staff/teachersexam-marks-create- Import exam marks
For Export Operations:
student-list- Export studentsstaff-list- Export staffexam-list- Export marks- Various report permissions for specific exports
For Admins:
- Admins typically have all import/export permissions by default
- Accountants may have fee-related export permissions
- Teachers may have class-specific export permissions (attendance, marks for their classes)
Related Featuresβ
- Teacher-Subject Assignment - Assign teachers to subjects after import
- School Admin Guide - Managing students and staff
- Offline Exams Guide - Complete offline exam workflow including marks upload
- Attendance Reports - Exporting attendance data
Summary Checklistβ
Before Importing:
- β Download the correct template
- β Fill in all required fields
- β Use correct date format (DD-MM-YYYY)
- β Verify dropdown values match Form Field Values sheet
- β Test with small batch first
- β Backup existing data
During Import:
- β Review validation preview carefully
- β Fix all errors before submitting
- β Note any warnings or skipped rows
After Import:
- β Verify record count
- β Spot-check imported data
- β Complete follow-up actions (class assignment, subject assignment, etc.)
- β Send credentials to new users
- β Delete import file from downloads folder (security)
For Exports:
- β Apply filters before exporting if needed
- β Choose appropriate format (CSV for analysis, PDF for printing)
- β Store exported files securely
- β Delete old exports when no longer needed
Data import and export features save significant time and reduce manual data entry errors. Use templates carefully, validate thoroughly, and keep backups! ππ₯π€