CSV Import reads a spreadsheet one row at a time, and each row becomes one new item in Omeka Classic. Each column holds one kind of information, and you tell CSV Import where it goes: this column is the title, that one is the date, this one is the web address of an image. Every import makes new items. CSV Import can't change or delete the items you already have. Once you see it that way, each of its settings answers one of two questions: what do all the rows have in common, and where does each column go?
The Wrenfield Museum is planning an exhibition, Printed for the Garden, about Ruth Hollis, whose WPA posters are in its Art for Every Town collection. Her father, Edwin Hollis, ran the Hollis Brothers Seed Company of Springfield, Massachusetts, and the Wrenfield College Library, which holds the company's records, is lending the museum its seed packets, catalogs, letters, and photographs. The library sends a spreadsheet for each group of records. In this lesson you install CSV Import, make a collection for the loan, and test the first spreadsheet: three seed packets. Then you undo the test and clear it from the list.
The video takes the tour and runs the test, then looks at what CSV Import can't do and why every import starts with a test. This page has the same steps. Two sections at the end, Going further and When things go wrong, stay closed until you open them.
Before you start
- Sign in to your site's admin as a Super User or an Admin. Contributors and Researchers don't see CSV Import.
- Download hollis-packets-test.csv, the spreadsheet this lesson imports. Every spreadsheet in the course is also in one zip file.
Install CSV Import
CSV Import is a free plugin from the Omeka team. If you took the Omeka Classic course, it's already on your site: skip to the next section.
- On your RefBytes dashboard, open your site, click Modules, then the Available tab.
- Search for CSV Import and click Install on its row. After a short wait it moves to the Installed tab.
- In the Omeka Classic admin, click Plugins at the top of the page, then Install beside CSV Import. CSV Import appears in the left menu.
Make a collection for the loan
CSV Import can put every item it makes into a collection, but only one that already exists. It never makes a collection itself.
- Click Collections in the left menu, then Add a Collection.
- In Title, type Hollis Brothers Seed Company. In Description, write a sentence about it, such as Records of a seed company in Springfield, Massachusetts, lent by the Wrenfield College Library for the exhibition Printed for the Garden.
- Tick Public, then click Add Collection.
Look at the spreadsheet first
Open hollis-packets-test.csv in a spreadsheet program. It has a heading row, then one row for each seed packet:
| Dublin Core:Title | Dublin Core:Creator | Dublin Core:Date | Dublin Core:Description | Image URL |
|---|---|---|---|---|
| Sweet pea, Hollis Finest Mixed | Hollis Brothers Seed Company | 1909 | A seed packet of mixed sweet peas… | https://…/hb-pkt-01-front.jpg |
| Tomato, Hollis Early Crimson | Hollis Brothers Seed Company | 1907 | A seed packet for the company's own early tomato… | https://…/hb-pkt-02-front.jpg |
| Pansy, Hollis Giant Mixed | Hollis Brothers Seed Company | 1909 | A seed packet of large-flowered pansies… | https://…/hb-pkt-03-front.jpg |
Four of the headings name the element their column goes into: the element set, a colon, then the element, as in Dublin Core:Title. CSV Import recognizes headings written that way and maps them for you. The last column holds the web address of each packet's scan. CSV Import downloads each image from its address, so the images have to be online already; you don't upload them.
Step 1: Select File and Item Settings
- Click CSV Import in the left menu. Step 1: Select File and Item Settings opens, on the plugin's Import Items tab.
- Under Upload CSV File, choose hollis-packets-test.csv.
- Leave Use an export from Omeka CSV Report unticked; lesson 6 uses it. Leave Automap Column Names to Elements ticked.
- In Select Item Type, choose Still Image. In Select Collection, choose Hollis Brothers Seed Company. Every row of the import gets this item type and collection.
- Tick Make All Items Public?, so visitors can see the packets. Leave Feature All Items? unticked.
- Leave the four delimiters below as they are. Lesson 4 covers them.
- Click Next.

Step 2: Map Columns To Elements, Tags, or Files
Step 2 lists your columns down the page, one row each: the heading, an Example from CSV File (the column's value in the first row), the element it goes into under Map To Element, and three boxes, Use HTML?, Tags?, and Files?. Because their headings are written the way automap expects, the four Dublin Core columns already show their element. Image URL names no element: it holds files.
- Check that each Dublin Core column shows the element you expect.
- On the Image URL row, tick Files?.
- Click Import CSV File.

The Status tab
Omeka says Import started. Reload this page for status updates. and opens the plugin's Status tab. Each import is one row:
- Import Date and CSV File: when, and which spreadsheet.
- Imported Items: the items it made, here 3.
- Skipped Items: rows whose item couldn't be made, most often because a file couldn't be downloaded. Lesson 5 covers them.
- Skipped Rows: rows set out wrongly, such as blank ones. Lesson 2 covers them.
- Status: Queued, then In Progress, then Completed. The page doesn't update itself: reload it until the import is Completed. Imports run in the background, so you can work elsewhere and come back.
- Action: Undo Import for now.
Click Items in the left menu. The three packets are at the top of the list, each with its scan. Open one and check its title, creator, date, description, collection, and image.

Undo the test, then clear it
The test did its job, so take it back. Next lesson's spreadsheet holds the packets again with more detail.
- On the Status tab, click Undo Import beside the import. Your browser asks Undoing an import will delete all of its imported items. Are you sure you want to undo this import? Click OK.
- Omeka says Undo import started. Reload this page for status updates. Reload until Status reads Completed Undo. The three packets and their images are deleted.
- Click Clear History. The row goes, and so does the copy of your spreadsheet that Omeka kept. Clear History doesn't ask first, and it doesn't touch any items.

Always test first
Before you import a long spreadsheet, import a copy with only its first few rows. Look at the items it made, then undo it. Fix the spreadsheet or your choices and try again. Ten minutes of testing saves an afternoon of fixing hundreds of items by hand.
Going further
What CSV Import can't do, which files it reads, and what happens during a big import.
What CSV Import can't do
CSV Import makes new items, nothing else. It can't make collections or item types, so make those first. It can't change, replace, or delete items that are already in Omeka, or add files to them. Import the same spreadsheet twice and you get every item twice. Lesson 8 covers changing items after an import.
The files it reads
CSV Import reads comma-separated text files, the kind spreadsheet programs save as .csv. It doesn't read Excel's own .xlsx files: save a copy as CSV UTF-8 first. Lesson 2 explains why that choice matters. It can't read tab-separated files, because a tab can't be typed into its Choose Column Delimiter box.
Big imports
CSV Import works down the spreadsheet in the background, one row at a time, downloading each file as it goes. A few hundred rows of text take a minute or two. Rows with images take longer. Imported Items goes up as it works, but Skipped Items and Skipped Rows show 0 until the import finishes. For a large collection, split the spreadsheet into files of a few hundred rows, so a problem in one doesn't hold up the rest.
Who sees what
Anyone with the Super User or Admin role can use CSV Import, and the Status tab lists everyone's imports, not just yours. Any of them can undo any import. Each item an import makes belongs to whoever ran it.
When things go wrong
What to do when CSV Import isn't in the menu, an import never finishes, or step 2 sends you back.
- There's no CSV Import in the left menu. Either the plugin isn't installed in Omeka yet (step 3 of Install CSV Import), or your account is a Contributor or Researcher. Ask a Super User to change your role under Users, or to run the import.
- Status stays on Queued or In Progress. Reload after a minute. Large files take a while to download. If nothing has changed after half an hour, open a support ticket from your RefBytes dashboard.
- "Import settings expired. Please try again." CSV Import keeps your step 1 choices only long enough to show step 2 and import from it. Reloading step 2, or opening another admin page before you click Import CSV File, uses them up. Start again from step 1.
- There's no Undo Import button, only Clear History. The import didn't make any items, or it's already undone.
On RefBytes
Every Omeka Classic plugin in the omeka.org directory is on your site's Modules page in the RefBytes dashboard, under Available, with an Install button, so there's nothing to download or upload. The plugins this course uses later, Bulk Metadata Editor and CSV Export Format, install the same way.