Menú Cerrar
View Categories

Item Import & Export

With Data Crow you can export your items to a text or XML file and import your items from a CSV or XML file. For this you can use the Item Export Wizard or the Item Import Wizard respectively.

Item Export Wizard #

Menu path: File > Export > Item Export Wizard

The item export wizard writes items to a file. The export is created by the server (a stand alone installation is its own server); when you are connected to a server only the finished export is sent to you, into the folder you chose. Only the items and fields you are allowed to see are exported.

The steps of the wizard are:

  • Select the module (a tree with a filter), when the wizard was started from the menu.
  • Select the way to export.
  • Target file: select the file, and choose Include Pictures and Copy & Include Attachments when you want them exported with the items.
  • Fields: select the fields to export.
  • Export: the progress and the event log are shown. Press Finish when the export is done; Cancel stops it.
Item export wizard: the way to export
Item export wizard: the target file

Formats #

  • XML export: all fields, the pictures and attachments, and the items the exported items refer to (at every level). The file can be imported into Data Crow again. This is the preferred format to exchange items between Data Crow installations.
  • Text export (tab-delimited): one text file with the values of the selected fields, separated by tabs, suited for Excel and other programs. Each line is one item, so new lines in values are removed. The pictures are written in the columns Main picture and Other pictures.

The items which the exported items refer to are always exported; what is exported follows the fields you selected.

Item Import Wizard #

Menu path: Add > Item Import Wizard

The item import wizard imports items from an external file. The items are added to the database right away, not to the view for new items.

The steps of the wizard are:

  • Select the type of import.
  • Select the module into which the items are imported.
  • Select the source file and the settings which belong to the type of import.
  • Map the fields: select a target field for each source field.
  • Import: the progress and the event log are shown. Finish is available when the import is done; Cancel stops it.

Formats #

  • Data Crow XML File Import: an XML file made by Data Crow (the XML export): the items, the pictures, the attachments and the items they refer to.
  • Generic XML File Import: an XML file from another source, for example an export of another collection program. Data Crow finds the items in the file by itself. The values are shown as paths (such as genres/genre/name), which you map to the fields of the module, the picture fields included. Values which occur more than once for an item, such as several genres, are combined.
  • CSV import: a text file with one item per line, with the values separated by a character such as a semicolon or a tab.
Item import wizard: type of import

Source file and settings #

The character set of the file is detected automatically. The other settings depend on the type of import. A CSV file is expected to have the column names in the first row; for a file without them, switch off the option for the column names. Empty lines are skipped.

Item import wizard: source file and settings

Source field mappings #

You can save the mapping under a name and select it again in a later import. The settings of the import, such as the separator, are saved with it. The next import also starts with the mapping of the previous import. Columns which are no longer in the file and fields which are no longer available are skipped and reported. New columns can be mapped by hand.

Pictures. Map a column which holds the path of a picture file (or a web address) to Main picture or to Other pictures. The main picture comes first and is the picture shown in the overview. Several columns can be mapped to Other pictures. A column can hold several pictures, separated by a vertical bar or on separate lines. A path which does not exist on this computer, for example from an export made on another computer, is also looked for in the folder of the import file and its subfolders.

Lists, numbers and dates. A list in a single value, such as the genres or actors of an item, is detected: it can be separated by a vertical bar or a semicolon, or be on separate lines, otherwise by commas. Names such as “Allen, Woody” stay together. Numbers (1,5 or 1.5 or 1.234,56) and dates (2002-05-17, 17/05/2002 or 17 May 2002) are read in the notation which is used in the file. A value which cannot be read gives a short message.

Item import wizard: field mapping

Existing items #

Items which have the same name as an item which was there before the import are merged with it. Items of the same import file are not merged with each other. Items which belong to another item of the same module (such as the editions of a book) are linked to it as the last step of the import, when all items are there.