Change Publication Type
Plugin for changing the publication type in the Goobi workflow
Overview
Identifier
intranda_metadata_changeType
Licence
GPL 2.0 or newer
Last change
04.09.2024 10:07:12
Introduction
This plugin allows the modification of the publication type within the metadata editor of Goobi workflow.
Installation
To use the plugin, the following files must be installed:
After installation, the functionality of the plugin is available within the REST API of Goobi workflow.
Overview and functionality
Once the plugin is installed, a new function will appear in the metadata editor's menu, listing all installed and configured plugins. To use the plugin for changing the publication type, templates must first be created in the configured project. These templates need to be pre-populated with the desired metadata, and the process property for the label must be assigned. Once the templates are created, they will be available in a selection list.
When the user selects the plugin, a dialog window will open, listing the available templates for different publication types. The user can select the desired publication type and save the change.
When the publication type is switched, a backup of the existing metadata file is created first. Then, the metadata from the selected template is copied into the process. If the old record already contains pagination and page assignments, this data will also be transferred.
Finally, each configured metadata field is checked to see if it existed in the old record. If so, this metadata, including persons or groups, will be transferred to the new record. If a corresponding field with a default value already exists in the new record, it will be overwritten with the original data.
Configuration
The plugin is configured in the file plugin_intranda_metadata_changeType.xml
as shown here:
The following table contains a summary of the parameters and their descriptions:
<section>
is repeatable and thus allows different configurations for various projects.
<project>
Specifies for which project(s) the current section applies. The field is repeatable to allow a common configuration for multiple projects.
<titleProperty>
Contains the name of the process property where the label to be used is stored.
<templateProject>
Name of the project from which the templates should be read. All processes from the project that have a label will be listed.
<metadata>
List of metadata to be transferred from the original file to the new file.
Last updated