Goobi workflow Plugins
Documentation homeGoobi workflow ManualGoobi workflow Digests
English
English
  • Overview
  • Administration
    • Archive Management
      • Using the plugin
      • Configuration of the plugin
    • Configuration editor
    • Copy Master-Anchor
    • Data Poller
    • Goobi-to-Goobi
      • Installation and configuration
      • Creation of the export directories
      • Transfer of the export directories
      • Importing the export directories
    • Reset pagination
    • Restoring archived image folders
    • Ruleset Compatibility
    • Ruleset editor
  • Dashboards
    • Barcode scanner Dashboard
    • Extended Dashboard
  • Exports
    • Customised export for the DMS Imagen Media Archive Management
    • Single Page Export
    • Configurable export
    • Fedora Export
    • Fedora Export PROV
    • Heris Export
    • Export for newspapers to the portal of the German Digital Library
    • PDF export to the NLI directory structure
    • Export of selected images
    • Stanford Export
    • VLM Export
    • HAAB Export
    • ZOP Export
  • Generic
    • Barcode Scanner
  • Imports
    • Legacy data import for the Austrian Federal Monuments Authority
    • Archive data import
    • Data import without catalogue query for ETH Zurich
    • Importing records from an Excel file
    • Import of card catalogues from KatZoom
    • Importing MAB Files
    • Import of Sisis SunRise Files
    • Import for journal articles from an Endnote Export
    • Data import with ALMA catalogue query for Zurich Central Library
    • Data import with CMI catalogue query for Zurich Central Library
    • Data import without catalogue query for the Zentralbibliothek Zurich
  • Metadata
    • Change Publication Type
    • Metadata extension for the creation of structural elements per image
  • OPAC
    • Ariadne Import
    • EAD data transfer
    • Generic XML Import
    • Generic JSON Import
    • Kalliope Import
    • MARC Import
    • PICA Import
    • Soutron Import
  • Repeated Jobs
    • Data import for the Austrian Housing Promotion Fund
    • HERIS Vocabulary Update
  • Statistics
    • Sudan Memory Translations
    • Visualisation of the throughput per user
  • Steps
    • ALMA API Plugin
    • Automatic pagination based on file names
    • Archiving image folders
    • Generating Archival Resource Keys (ARK)
    • Libsafe Integration
    • Assign batch
    • Batch Progress Plugin
    • Catalogue Request
    • Changing the workflow based on process properties
    • Generation of PDF files
    • Plugin for registering DOI via the DataCite API
    • Delay Workflow
    • Conditional workflow status delay
    • Delete Content
    • Display of metadata in a task
    • Plugin for DOI registration
    • Downloading and verifying files
    • Duplication of work steps
    • ePIC PID Registration (Handle & DOI)
    • EWIG Long term archiving
    • Metadata enrichment via Excel file
    • Package Export
    • Copying files from metadata fields
    • Upload files
    • File validation
    • Flex Editor
    • Generate ALTO IDs
    • Generate Identifier
    • Geonames Annotation
    • GeoNames Correction
    • Automatic Handle Assignment
    • Heris data import
    • Extraction of image metadata
    • Image scaling and watermarking
    • Selection of images
    • Quality control of images
    • Metadata transfer from a directory
    • Metadata Cleaning
    • Layout Wizzard
      • Using the plugin
        • Preview
          • Image area
          • Display and navigation options
        • Single page view
          • Folder and file options
          • Current image
          • General settings
          • File list
          • Save view
          • Working steps
          • Selected analysis step
          • Global cutting options
      • Technical details
        • Installation
        • Configuration of the LayoutWizzard
        • Configuration of the user interface
        • Workflow
    • Metadata edition
    • Capture metadata per image
    • Automatic enrichment of metadata from own vocabularies
    • Structure data import from an Excel file
    • Update Metadata Fields
    • Automatic METS enrichment with image files and pagination
    • Enrich METS file
    • Data migration from Visual Library
    • MIX Metadata Enrichment Plugin
    • OCR execution with mixed fonts
    • OCR page selection
    • Transfer OCR result to metadata field
    • Object Identifier Generation
    • Correction of tables of contents after an OLR
    • Data import for Book Interchange files
    • Split PDFs, extract full text and read table of contents
    • Electronic Publications
    • Generation of placeholder images
    • Process folder migration
    • Renaming files
    • Renaming files before the Rosetta ingest
    • Renaming Processes
    • Reorder Images
    • Replace images
    • Automatic setting of the representative
    • Reverse Image Order
    • Generation of docket files
    • Sending emails
    • Import of ECHO files as TEI
    • Tif-Validation
    • Transcription of image content
    • OCR using Transkribus
    • Import and download from Transkribus Collections
    • Creation of Uniform Resource Names (URN)
    • User Assignment
    • Vocabulary enrichment
    • Writing XMP metadata to image files
    • Metadata validation within a task
    • Invoices and delivery notes for user orders
  • Workflow
    • AEON data transfer
    • Barcode Generator
    • Close steps
    • Entity Editor - Artist Dictionary
    • Generic import plugin for excel files including validation
    • Process creation through file upload
    • Mass import from Excel data with EAD enrichment
    • Generic import plugin for JSON files
    • LayoutWizzard workflow plugin
    • Create process relationships
    • Mass upload
    • Import of newspaper issues as single pages
    • Project export as folder with images and Excel file
    • Mass import for brand studies and advertising material
    • Data transfer from AIM25
Powered by GitBook
On this page
  • Overview
  • Introduction
  • Installation
  • Overview and functionality
  • Scan view
  • Configuration view
  • Configuration
  • General parameters
  • Weitere Parameter
Export as PDF
  1. Generic

Barcode Scanner

This generic plugin for Goobi workflow allows barcodes to be scanned and configurable GoobiScripts to be executed.

PreviousZOP ExportNextLegacy data import for the Austrian Federal Monuments Authority

Last updated 1 month ago

Overview

Name
Wert

Identifier

intranda_generic_barcodeScanner

Repository

Licence

GPL 2.0 or newer

Last change

03.04.2025 15:11:37

Introduction

This plugin allows you to execute any configurable GoobiScripts by scanning parameterised barcodes.

Installation

In order to use the plugin, the following files must be installed:

/opt/digiverso/goobi/plugins/generic/plugin-generic-barcode-scanner-base.jar
/opt/digiverso/goobi/plugins/GUI/plugin-generic-barcode-scanner-gui.jar
/opt/digiverso/goobi/config/plugin_intranda_generic_barcodeScanner.xml

Once the plugin has been installed, it can be integrated at various points in the user interface (for example as a barcode button in the menu bar).

Overview and functionality

When entering the plugin, a dialogue window appears in which barcodes can be both scanned and generated.

Scan view

In the scan view of the plugin, a barcode can then be entered manually in the ‘Barcode’ field or scanned using a barcode scanner.

If the barcode corresponds to a configured barcode format, the corresponding GoobiScript is activated.

If the plugin is re-entered and a process title is then scanned, the previously activated GoobiScript is applied to this process.

Batches can also be scanned instead of processes. In this case, the GoobiScript is executed for all processes in the batch.

Configuration view

In the configuration view of the plugin, barcodes can be generated for configured barcode formats. To do this, select a barcode format from the drop-down list. Values can then be entered for all parameters of the barcode format. You can then have the configured barcode generated so that it can be used in any other programme or printed out via drag-and-drop, for example.

Configuration

The plugin is configured in the file plugin_intranda_generic_barcodeScanner.xml as shown here:

<config>
    <docking>MENU_BAR</docking>
    <barcode description="Setze Vorgangseigenschaft '{{1}}' auf '{{2}}'" pattern="ps_(.*)_(\d+)" sample="ps_Standort_54">
        ---
        action: propertySet
        name: {{1}}
        value: {{2}}
	</barcode>
</config>

General parameters

The <config> block contains parameters that can be used for all generic plugins:

Parameter
Explanation

docking

This element is used to control where the plugin is to be integrated. With MENU_BAR, for example, the plugin can be displayed in the main bar. The element can be repeated to integrate the plugin in several places. The values FOOTER and MENU_BAR can currently be selected to display the plugin either in the menu bar or in the footer bar.

Weitere Parameter

Neben den allgemeinen Parametern stehen die folgenden Parameter für die weitergehende Konfiguration zur Verfügung:

Parameter
Explanation

barcode

The barcode element can be repeated as often as required to specify barcode formats. A barcode format has the attributes description, pattern and sample. The description is a textual description of the barcode format. If the barcode format can contain parameters, these can be included in the description with {{n}}. In this case, n must be replaced by the number of the parameter, starting with 1. The pattern is a regular expression that describes the entire barcode. Groups can be defined with brackets in the regular expression. This can be used to define parts of the barcode as parameters. In the case of the example configuration, (\d+) is a group that describes a number with at least one digit. This group can then be used as {{1}} (the first parameter). The sample is a possible sample barcode. This is used during barcode generation to display possible sample barcodes. This sample barcode must match the regular expression. The content of the barcode element is any GoobiScript. Several GoobiScripts can also be entered in succession with ---. With {{n}} the parameters of the barcode can be used in GoobiScript.

As the configuration is somewhat complex, we will explain it using the example of the second barcode format in the configuration:

The barcode has the description Set operation property ‘{{1}}’ to ‘{{2}}’. The regular expression is ps_(.*)_(\d+) and an example barcode could be ps_location_54. The regular expression matches all inputs beginning with ps_, followed by anything, then again an underscore _ followed by a number with at least one digit. If such a barcode is scanned, for example ps_location_54, the following GoobiScript is activated:

action: propertySet
name: Standort
value: 54

The two placeholders {{1}} and {{2}} have already been replaced here by the values location and 54 of the scanned barcode.

If a process title is now scanned, this GoobiScript is executed for the process. As a result, the process property ‘Location’ is set to the value ‘54’.

https://github.com/intranda/goobi-plugin-generic-barcode-scanner
Barcode plugin in the menu bar
Barcode scanning
Barcode format activated
Scan process barcode
Applying GoobiScript to a process
Barcode generation