Generate Docket Files

This Step Plugin allows you to automatically generate docket files in various file formats.


This plugin can be used in any task to automatically generate and save a docket when the task is processed. The plugin supports PDF and TIFF files.


Source code
GPL 2.0 or newer
Goobi workflow 2022.04
Documentation date


The following file must be present to install the plugin:
To configure how the plugin should behave, various values can be adjusted in the configuration file. The configuration file is usually located here:

Configuration of the plugin

The configuration of the plugin is as follows:
order of configuration is:
1.) project name and step name matches
2.) step name matches and project is *
3.) project name matches and step name is *
4.) project name and step name are *
<!-- which projects to use for (can be more then one, otherwise use *) -->
<template file="/opt/digiverso/goobi/xslt/docket.xsl" />
<!-- mimeType: image/tiff or application/pdf -->
<!-- filename: name of the output file-->
<!-- folder: name of the output folder, e.g. 'master' or 'media' -->
<output mimeType="image/tiff" filename="00000000.tif" folder="master" />
<!-- Set the number of dots per inch for the output file here. Common values are 300 or 600 -->
This parameter specifies for which project the current <config> block should apply. The name of the project is used here. This parameter can occur multiple times per <config> block. If the value is set to *, all projects will be considered.
This parameter defines for which work steps the <config> block should apply. The name of the step is used here. This parameter can occur several times per <config> block. If the value is set to *, all work steps will be considered.
This element specifies which docket template should be used for generation. The file parameter specifies an absolute file path to an existing .xsl file.
This element specifies where and how the destination file should be stored. The folder parameter specifies the corresponding subfolder within the images folder of a project. For example, master or media can be selected here. The filename parameter specifies the file name. The file extension must match the specified MimeType. This is configured with the mimeType parameter and can be set to either image/tiff or application/pdf.
This value specifies the resolution of the exported document. The unit is pixels per inch. The default value is 150 DPI.

Use of the plugin

In case of an automatic task, the plugin will be executed automatically as soon as the corresponding task is executed. There is an additional button at the corresponding task in the task details, with which the docket can be generated manually at any time.

Anwendung des Plugins

This plugin is integrated into the workflow in such a way that it is executed automatically. Manual interaction with the plugin is not necessary. For use within a work step of the workflow, it should be configured as shown in the screenshot below.
Integration of the plugin into the workflow