Collections · Staff guide
CSV import and export
Download a collection's items as a spreadsheet, and catalogue many items at once from one
Each collection can be exported to CSV and filled from CSV, by its owner on the member side and by staff here.
Permissions: collections.view to export, collections.manage_all to import into any member's collection.
Export
On a collection's items page, click the download button. The file has one row per item: name, description, every catalogue field, the YouTube video, the item's category, then a meta: column for each free-form field and an attr: column for each category field. It opens in Excel, Numbers or Google Sheets (UTF-8 with a byte-order mark).
Text that a spreadsheet would run as a formula (starting with =, +, - or @) is written with a leading ', so opening the file never runs anything. Importing the file strips it again.
Import
- On a collection's items page, click the upload button.
- Choose a
.csvfile (comma, semicolon or tab separated, up to 5 MB and 5,000 rows). - Click Import.
Every row becomes a new item; existing items are never changed or matched. The first row must be the headers, and a name column is required. Headers are matched loosely: Price paid, price_paid and acquisition_price all work, and so do common names like cost, value, policy, ISBN and UPC.
- Dates are
YYYY-MM-DD. Money can carry a currency sign and thousands separators ($1,234.50,1.234,50 €). - A value that cannot be read is left empty and the line numbers are listed afterwards.
- Rows with no name are skipped and listed.
categoryis matched by name against the attribute group in Settings;attr:columns are saved only when it matches. Unknown categories are listed.is_publicaccepts yes/no, true/false or 1/0.
Limits
The import keeps to maxItemsPerCollection: rows past the limit are skipped and the message says how many. Photos are not imported; add them to the items afterwards.
Each imported item raises the collections.item_added_to_collection hook with source: 'csv'.