The Borrower Import function enables sites to import borrower data from an Administration system (for example: Cases, EDSAS, Maze, Synergetic, etc) into the Amlib system.
This allows for:
This function is predominantly used by school libraries at the start of each year/semester to update their student records (or add new ones).
The program allows for the restoration of the old data if necessary.
It has a facility to “map” administrative codes to those used on your Amlib database. They do not have to be the same codes, but need to be matched to the corresponding codes so they will import correctly for each borrower record.
The data file to be imported can be copied from the administrative database onto a USB drive, CD or to a file accessible on the network. You will need to know the exact path so that you can access it during the Borrower download process (from your administrative database). Once the data file has been downloaded from the administrative database, it can be uploaded into Amlib.
The file sent to you should be in one of the following file formats:
You can have empty fields in your import, but they must be left empty and not have the data moved across. For example: if you didn’t have a Second Name or Preferred Name, you would leave two blank fields where they should be in your file:
Example format (CSV):
If the above example left out the RED Group code, the data would be:
Pipe (|) separated:
Dates must be formatted in one of the following three ways:
If there are trailing spaces in the data, the program strips these out and causes no problems with the download.
Format 1: MAZE, Synergetic, CASES, COSYCORNER
This format contains only 17-18 fields, which should be downloaded into a data file from the administrative software (for example: MAZE, Synergetic, CASES, COSYCORNER, etc.) in the sequence as shown below.
Mandatory Fields: The data must include Borrower Shortname (Unique ID/BarCode), Surname and Type. These cannot be left as null fields. Any unused fields should be left blank but included as null fields.
FIELD |
CSV COLUMN |
EXAMPLE |
---|---|---|
1. (Unique ID/BarCode) Borrower Short Name/MAZE Key |
A |
ANDERL |
2. Surname |
B |
ANDERSON |
3. Given |
C |
LAURENCE |
4. Second Name (only imports initial) |
D |
WILLIAM |
5. Preferred (overrides Borrower Given) |
E |
LAURIE |
6. Type |
F |
1 |
7. Group |
G |
RED |
8. Class |
H |
B1SJ |
9. Date of Birth (or date of entry depending on what is used by the admin. database) |
I |
1/01/83 |
10. Sex |
J |
M |
11. Location |
K |
BB |
12. Contact name |
L |
MR & MRS W.B. ANDERSON |
13. Contact Address Line 1 |
M |
5/165 King Edward St |
14. Contact Address Line 2 |
N |
Bayswater |
15. Contact Address Line 3 |
O |
WA |
16. Postcode |
P |
6053 |
17. Contact Phone Number |
Q |
9462 1111 |
18. Email (Optional) |
This format contains only 22 fields, which should be downloaded into a data file from the Administrative software (SIS) in the sequence as shown in below.
Please Note: All files must be in a standard .CSV format. Any unused fields should be left blank but included as null fields.
FIELD # |
FIELD NAME |
TYPE & SIZE |
EXAMPLE |
---|---|---|---|
1 |
(Unique ID) ID/REF/BarCode |
Alpha Numeric 15 |
1234 |
2 |
Type |
Alpha Numeric 1 |
|
3 |
Date of Birth |
Date |
12 JAN 1993 |
4 |
Sex |
Alpha Numeric 1 |
M / F |
5 |
Surname |
Alpha Numeric 40 |
Smith |
6 |
First name |
Alpha Numeric 40 |
Jonathon |
7 |
2nd name |
Alpha Numeric 20 |
Peter |
8 |
3rd name |
Alpha Numeric 40 |
Paul |
9 |
Preferred name |
Alpha Numeric 40 |
John |
10 |
Addr line 1 |
Alpha Numeric 40 |
151 Royal St |
11 |
Addr line 2 |
Alpha Numeric 40 |
|
12 |
Addr line 3 |
Alpha Numeric 40 |
|
13 |
Suburb |
Alpha Numeric 50 |
East Perth |
14 |
State |
Alpha Numeric 40 |
WA |
15 |
Postcode |
Alpha Numeric 10 |
6004 |
16 |
Phone 1 |
Alpha Numeric 30 |
9264 1111 |
17 |
Phone 2 |
Alpha Numeric 30 |
9264 1113 |
18 |
|
Alpha Numeric 100 |
|
19 |
Parent Salute |
Alpha Numeric 60 |
Mr & Mrs Smith |
20 |
Class |
Alpha Numeric 15 |
Room 5 |
21 |
Group (Type) |
Alpha Numeric 2 |
4 (K, P 12, up etc) |
22 |
Entry Date |
Date |
22 SEP 1998 |
You must have at least 19 columns, up to 25 columns (with the exception of 22 – see Format 2).
Mandatory Fields: Borrower Shortname (Unique ID/BarCode) and Borrower Type. Additionally, you need to have data in the Location column even if this does not come from your Admin system. If you do not store patron location against the student in your admin system, you can just put a 1 in every line of the file and match this 1 to your library location later.
Please Note: If the data file only contains 19 fields the Guardian details are copied from fields 12 – 16. Any unused fields should be left blank but included as null fields.
FIELD |
CSV COLUMN |
EXAMPLE |
---|---|---|
1. (Unique ID /BarCode) Borrower Short Name |
A |
ANDERL or B9988 |
2. Surname |
B |
ANDERSON |
3. Given Name |
C |
LAURENCE |
4. Middle Name (only imports initial) |
D |
WILLIAM |
5. Preferred Name (overrides Given) |
E |
LAURIE |
6. Type |
F |
1 |
7. Group |
G |
RED |
8. Class |
H |
10A |
9. BirthDate |
I |
01/01/91 |
10. Sex |
J |
M |
11. Location |
K |
BB |
12. Address 3 Line 1 (Guardian Name) |
L |
MR & MRS ANDERSON |
13. Address 1 Line 1 |
M |
5/165 King Edward St |
14. Address 1 Line 2 |
N |
Bayswater |
15. Address 1 Line 3 |
O |
WA |
16. P/Z Code |
P |
6053 |
17. Address 1 Tel. |
Q |
08 9462 1111 |
18. Email |
||
19. (Other ID) Ref2 |
S |
18846 |
20. Address 3 Line 2 |
T |
8 Osborne Rd. |
21. Address 3 Line 3 |
U |
Innaloo |
22. Address 3 Line 3 (merges with above) |
V |
WA |
23. Address 3 Postcode/Zip Code |
W |
6017 |
24. Address 3 Tel. |
X |
08 9754 0000 |
25. Mobile/Cell |
Y |
0425 113 655 |
The records will be matched in the following way:
In the example below John Goldsmith changed his Surname to Smith. The BarCode in the Amlib borrower record was identical to the Unique Import Key (Unique ID), therefore the details were updated, showing the Borrower details with the new Surname.
You may wish to move all year 12 students (or year 6 students – for primary schools) into another class such as Year 13 or Year 7 using Mass Borrower Change. From there you can upgrade all other years and import new students. Any returning year 12 (or 6) students would be updated and moved back to class year 12 (6). All Remainder students can be dealt with as necessary.
Alternatively all students may be mass changed to a generic class via Mass Borrower Change, thus giving all students a single class. When doing then next import, all classes will be changed to the correct class. Any left with the generic class can be dealt with as necessary.
Before starting the import process, check the Type, Group, Class and Location tables in Amlib to ensure all required codes have been created. Check the Location table to ensure that the locations required have a Valid for Borrower setting of Y.
Caution: This is your insurance for your borrower data and is thoroughly recommended!!
This could be caused by either having the information in the correct columns or having headings across the top of your document. Remove any headings and double check your file against the Import formats in this document.
This could be caused by having headings across the top of your import file or it being saved in an incorrect format (for example: .xlsx and not .csv). Please remove any headings, ensuring that it only contains Borrower information and make sure it is in one of the three formats mentioned at the beginning of this document.
Please Note: It is always a good idea to run a Borrower Import on your test databases first, to ensure no errors happen. If you do not have a test databases, please contact Support via one of the above methods to find out how to set one up.
The following explains the exact method in which Amlib matches on borrower imported records: