Tab-delimited patron data loading
File | 說明 |
---|---|
Tab-delimited patron data template (Microsoft Excel) | Contains 46 columns. Save as a tab-delimited text file (an Excel file cannot be used to send data). |
Columns
Use the following criteria to create columns for your data:
- The text file must contain all 46 tab-delimited columns in the order listed in the table below.
- The first line of the text file is the header and must contain column names separated by tabs.
- Column header names are not case sensitive, but must be spelled correctly.
- Each line in the tab-delimited file must contain 45 tab characters, which function as column separators.
- All values in columns are strings (text string, numeric string, etc.).
- If you have no data to put in a column, leave it empty.
Filename
File naming must follow specific rules:
- Filenames can contain letters, numbers, periods and underscores.
- Filenames cannot contain spaces or special characters.
- If you are using a non-Windows machine, save the file as a Windows-formatted text file.
Example: OCLCsymbolpatrons.txt
Send patron data
Once your data is prepared, send your patron data files via SFTP with your OCLC file exchange account.
Directory | Use for |
---|---|
/xfer/wms/test/in/patron |
Data being evaluated for automated data loads OCLC Support after uploading a file to the test directory and provide an explanation of the analysis required. Note: To ensure that your test file is handled appropriately, notify |
/xfer/wms/in/patron | Data approved for automated data loads |
Ongoing patron load updates
- If new data is included in an update record, all will be replaced with new information. This does not apply to the sourceSystem/idAtSource fields. If those fields are changed, a new entry will be added in the account accordion.
- Name and Postal address information are treated as a group; if there was a full address previously and the update record only includes the country, then the Postal Address will be overwritten with just the country. If nothing new is provided in the update record, then the old address will be maintained.
- If an update record does not include data for an optional field, but contained data in a previous update, the original data will be maintained.
- If you want to bulk delete library patron records, see Tab-delimited data bulk delete.
Fields | 操作 | |
---|---|---|
For WorldShare Circulation, if any of these fields are present > | barcode, homeBranch, borrowerCategory, circRegistrationDate > | It will be treated as a WorldShare Circulation record and will assume the WorldShare Circulation required fields are present. |
For Tipasa, if any of the ILL fields are present > | illId, illApprovalStatus, illPatronType, illPickupLocation > | It will be treated as an ILL record and assume the ILL required fields are present. |
For WorldShare Circulation, if any required WorldShare Circulation fields are missing > | givenName OR familyName, institutionId, barcode, borrowerCategory, homeBranch, > | The record will be ignored. |
For Tipasa, if any fields are missing > | givenName OR familyName, institutionId, illId, at least one piece of contact information (postal address, phone or email) > | The record will be ignored. |
If both WorldShare Circulation and Tipasa fields are present > | It will take on requirements for both types of records. |
Record fields
Columns 1-17
Column |
Column name | Required for WorldShare Circulation Libraries |
Required for Tipasa Libraries |
說明 | Character limit |
---|---|---|---|---|---|
1 | prefix | Optional | Optional |
|
254 |
2 | givenName |
Required givenName or familyName is required |
Required givenName or familyName is required |
|
50 |
3 | middleName | Optional | Optional |
|
100 |
4 | familyName |
Required givenName or familyName is required |
Required givenName or familyName is required |
|
50 |
5 | suffix | Optional | Optional |
|
254 |
6 | nickname | Optional | Optional |
|
50 |
7 | canSelfEdit | Optional | Optional |
|
|
8 | dateOfBirth | Optional | Optional |
|
|
9 | gender | Optional | Optional |
|
|
10 | institutionId | Required | Required |
|
|
11 | barcode | Required | Not applicable (barcode can be sent as illId) |
|
20 |
12 | idAtSource |
Optional Required if using a non-OCLC authentication system. |
Optional Required if using a non-OCLC authentication system |
|
50 |
13 | sourceSystem |
Optional Required if using a non-OCLC authentication system. |
Optional Required if using a non-OCLC authentication system. |
|
255 |
14 | borrowerCategory | Required | Not applicable (illPatronType can be used) |
|
30 |
15 | circRegistrationDate | Optional | Not applicable |
|
|
16 |
oclcExpirationDate | Optional | Optional |
|
|
17 | homeBranch | Required | Not applicable |
|
Columns 18-35
Column |
Column name | Required for WorldShare Circulation Libraries |
Required for Tipasa Libraries |
說明 | Character limit |
---|---|---|---|---|---|
At least one piece of contact information, postalAddress, email or phone number is required. | |||||
18 | primaryStreetAddressLine1 | Optional | Optional |
|
120 |
19 | primaryStreetAddressLine2 | Optional | Optional |
|
120 |
20 | primaryCityOrLocality | Optional | Optional |
|
50 |
21 | primaryStateOrProvince | Optional | Optional |
|
120 |
22 | primaryPostalCode | Optional | Optional |
|
20 |
23 | primaryCountry | Optional | Optional |
|
120 |
24 | primaryPhone | Optional | Optional |
|
50 |
25 | secondaryStreetAddressLine1 | Optional | Optional |
|
120 |
26 | secondaryStreetAddressLine2 | Optional | Optional |
|
120 |
27 | secondaryCityOrLocality | Optional | Optional |
|
50 |
28 | secondaryStateOrProvince | Optional | Optional |
|
120 |
29 | secondaryPostalCode | Optional | Optional |
|
20 |
30 | secondaryCountry | Optional | Optional |
|
120 |
31 | secondaryPhone | Optional | Optional |
|
50 |
32 | emailAddress | Optional | Optional |
|
254 |
33 | mobilePhone | Optional | Optional |
|
50 |
34 | notificationEmail | Not applicable | Optional |
|
4,096 |
35 | notificationTextPhone | Not applicable |
Optional Note: If a mobile number is present in this field and does not validate, the patron load will be rejected. |
|
4,096 |
Columns 36-46
Column |
Column name | Required for WorldShare Circulation Libraries |
Required for Tipasa Libraries |
說明 | Character limit |
---|---|---|---|---|---|
36 | patronNotes | Optional | Optional |
|
255 |
37 | photoURL | Optional | Optional |
|
8,192 |
38 | customdata1 | Optional | Optional |
|
8,192 |
39 | customdata2 | Optional | Optional | ||
40 | customdata3 | Optional | Optional | ||
41 | customdata4 | Optional | Optional | ||
42 | username | Optional | Optional |
|
50 |
43 | illId | Not applicable | Required |
|
254 |
44 | illApprovalStatus | Not applicable | Optional |
|
|
45 | illPatronType | Not applicable | Optional |
|
50 |
46 | illPickupLocation | Not applicable | Optional |
|
1,000 |
Patron data file processing reports
Patron data reports are available in the wms/reports file exchange directory and can be downloaded using an open-source SFTP client or by using SFTP commands.
This table shows the directories for downloading files and reports.
File type | SFTP file directory location | Note |
---|---|---|
Patron Exception Report | /xfer/wms/reports | Lists patron records which fail to load into WMS and also failure reason. The exception report will only run if there is at least one patron record that failed to load into WMS within a patron file. |
Patron Summary Report | /xfer/wms/reports | Runs after a patron file is loaded into WMS and tells how many patrons in the file read, processed, good (loaded), bad (did not load), new, and updated. |