Mass import from Excel data with EAD enrichment
This workflow plugin for Goobi workflow allows the bulk import of data starting from metadata within Excel files.


This workflow plugin for Goobi workflow allows a mass import of metadata from Excel files, creating not only tasks in Goobi, each of which has a METS file. In addition, an existing EAD file is enriched with further nodes.
This plugin was developed for importing data from the HU Berlin to enrich the collection portal. Usually, at least two different Excel files of different types are used for such an import. Type 1 specifies the metadata for the object itself (TopStruct with metadata such as main title, keywords, etc.) and data for the properties of the operation (e.g. future name of the operation). Type 2, on the other hand, usually specifies those structural elements that are to be created as sub-elements within the METS file and what metadata these are to receive (in the case of HU Berlin, e.g. chapter/hole map, name of a media file, etc.).


GPL 2.0 or newer
Documentation date


The plugin consists of the following files:
The file plugin_intranda_workflow_hu_importer.jar must be copied into the following directory:
The file plugin_intranda_workflow_hu_importer-GUI.jar must be copied into the following directory:
In addition, there is the configuration file plugin_intranda_workflow_hu_importer.xml, which must be stored in the following folder:


The plugin is configured via the configuration file plugin_intranda_workflow_hu_importer.xml and can be adapted during operation. The following is an example configuration file:
<!--import set for excel files
Attributes in [] are optional
name: name of the import set, which will be displayed in the dropdonwnmenu
metadataFolder: where are the documents located
[mediaFolder]: where are the media files located
workflow: the workflow that shall be used
[project]: the goobi project that shall be used
mappingSet: the mapping that shall be used by the import set
publicationType: the publicationType that shall be used i.e. Monograph,...
structureType: structureType the metadata will be mapped to
[importSetDescription]: Path to xls-file with description of importset-files
[descriptionMappingSet]: Mapping for the importsetdescription file
[eadType]: Type of the EAD-entry
[eadFile]: Name of the EAD-file/database
[eadNode]:"ID of the parent node that this Imporset will use"
[rowStart]: first row that will be read
[rowEnd]: last row that will be read
<importSet name="Lochkarten EAD"
mediaFolder ="/opt/digiverso/import/mdvos/Lochkartei_Testdaten"
eadFile="EAD-Store - Sudanarchäologie.xml"
<!-- mapping set -> set of fields that describe a mapping
name = name of the MappingSet
field - mapping for a row of an excel file
Attributes in [] are optional
column: column of the xls-file that will be mapped
[label]; column header
[mets] mets of metadata element
type: person, metadata, media //maybe add eadonly
[separator]: default value is ;
[blankBeforeSeparator]: default value is false
[blankAfterSeparator]: default value is false
[ead] name of the ead metadata type
<mappingSet name="Lochkarten">
<field column="D" label="Inventar-Nr./Signatur" type="metadata" mets="shelfmarksource"/>
<field column="E" label="Institutionsnachweis/ Sammlung" type="metadata" mets="PhysicalLocation"/>
<field column="F" label="Titel" type="metadata" mets="TitleDocMain"/>
<field column="G" label="Schlagwort" type="metadata" mets="Subject"/> <!--mets="Subject"-->
<field column="H" label="Schlagwort" type="metadata" mets="Subject"/>
<field column="I" label="Material" type="metadata" mets="FormatSourcePrint"/>
<field column="J" label="Maße" type="metadata" mets="SizeSourcePrint"/>
<field column="K" label="Trenner" type="metadata" mets="OtherTitle"/>
<field column="L" label="Geokoordinaten" type="metadata" mets=""/>
<field column="M,N" label="Datei recto" type="metadata" mets="IdentifierRelatedWork"/>
<field column="M,N" label="Datei recto" type="media" mets="IdentifierRelatedWork"/>
<mappingSet name="Description">
<field column="A" label="Dateiname" type="FileName" />
<field column="B" label="Titel" type="metadata" mets="TitleDocMain" ead="unittitle"/>
<field column="D" label="Prozessname" type="ProcessName"/>
<field column="E" label="Date" type="metadata" ead="unitdate" />

Element types

The plugin initially knows the following element types.
config_plugin is the main element of the configuration file and contains all other elements
An ImportSet describes similar import processes.
A MappingSet consists of a set of field elements.
field elements are child elements of mappingSet. Each element maps a property of the operation to be created or its metadata to a column of the excel document.

Element: importSet

Name of the ImportSets. This will be displayed later within the user interface.
Here it must be specified where the folder with the files is located that are mapped with the MappingSet specified in the attribute mappingSet.
This optional attribute indicates where the media files are located.
Here you must specify which production template is to be used to create the processes.
Here you can specify to which project the activity is to be assigned. The attribute is optional. If no project is specified, the project specified in the production template is used.
Here it must be specified with which mapping the file in the metadataFolder is to be processed.
The publication type of the process (e.g. monograph)
The structure type of the elements that are to be created as sub-elements in the process (e.g. chapters or punch cards). Each line of an Excel document of type 2 describes one element of this structure type.
This optional attribute specifies where the file containing the metadata for the processes is located. If the parameter is set, a line must be specified in this document for each file in the metadataFolder.
The MappingSet for the file with the ImportSet description can be specified here. The attribute is optional.
Type of the EAD node (e.g. file). The attribute is optional.
Name of the EAD file/database. The attribute is optional.
ID of the parent node below which the new EAD node is to be inserted. The attribute is optional.
Specification for the first line of the Excel file in the metadataFolder to be evaluated. The attribute is optional.
Specification for the last line of the Excel file in the metadataFolder to be evaluated. The attribute is optional. If 0 is specified as the value, the complete file is evaluated.
If this optional parameter is set to true, the file name is used as the process title.

The elements mappingSet and field

An element of the type 'mappingSet' has only the attribute 'name'. This allows it to be directly addressed for mapping. As sub-elements, any number of elements field are allowed.
Column(s) to be mapped. The read value is then assigned to the metadatum defined in the mets attribute. Alternatively, the contents of the cell can be mapped to a process property such as the process title if ProcessName is specified as the type. If several columns are to be mapped into one value, they can simply be listed separated by commas (e.g. A,B,AA). The attribute is mandatory.
The column title can optionally be entered here. It is not evaluated by the plugin and is only used for documentation purposes.
This attribute determines to which metadata type the read-in value is to be assigned. All values that are a valid metadata for the corresponding structural element according to the rule set are permissible here.
This parameter is mandatory and can take the values: person, personWithGnd, metadata, media, FileName and ProcessName. The values are explained in more detail below.
This separator is used when several elements are to be mapped in one value. The default value is ;. The attribute is optional.
If the contents of several columns are to be mapped into one value, it can be determined here whether a space is to be set before the separator. The default value is false.
If the contents of several columns are to be mapped into one value, it can be determined here whether a space is to be set after the separator. The default value is false.
If this parameter is set, the content of the cell is assigned to this EAD metadata type.

Type attribute values

An element of type metadata is associated with the metadatum specified in the attribute mets in the METS file
This is a METS data type. If the type person is used, the attribute mets should always be set as well.
This is a specialisation of person. The plugin assumes that the last column contains the GND-ID. Either 2 or 3 columns can be specified. If only 2 columns are specified, the plugin assumes that the first column contains 'first name' and 'last name'.
There must be a file name in the specified column. It is assumed that the file is in the mediaFolder -> see Importset.
This type must be used to specify the process description file name column. This field type is therefore only useful in a descriptionMappingSet.
This type must be used to specify the column with the future process name.

Use of the plugin

After the installation and commissioning of the plug-in, it is available within the menu 'Workflow'. After calling it up, an ImportSet can be selected and the data import can be started. The plug-in will try to create the folders 'processed' and 'failure' in the 'metadata folder'. It should therefore be ensured that Goobi has write access to this folder. If a file is read in without errors, it is moved to the processed folder. If an error occurs, it will be moved to the folder failure.
The files in the mediaFolder are copied to the directories of the created processes during the import.
User interface of the plugin
Copy link
On this page
Element types
Element: importSet
The elements mappingSet and field
Use of the plugin