AEON data transfer
This is a Workflow Plugin for Goobi workflow. It allows to create multiple Goobi processes based on an initial AEON request. It allows to manually select items from the AEON response to decide for whi

Introduction

This plugin can be used to query individual data sets from AEON. After a record has been queried, all metadata from the so-called Metadata Cloud are retrieved and listed. The user can then select which data sets he or she would like to create as a Goobi operation.

Overview

Details
Explanation
Identifier
intranda_workflow_aeon_process_creation
Licence
GPL 2.0 or neeer
Documentation date
05.11.2021

How the plugin works

If the user has the authorisation to use the plugin, the plugin AEON Query Plugin can be opened in the menu item Worklow.
Opened plugin without executed search
A transaction identifier can now be entered here to start the search for an AEON record.
Displaying the data after performing a search
If a successful search was performed, the query details area was filled with the fields that were defined within the configuration in the <transaction> area. In the area Properties for all transactions the freely definable properties from the configuration area <properties> are displayed.
These fields can be edited if this has been provided for in the configuration file. Violations of the validation are displayed directly next to the individual fields.
In the right-hand area of the user interface, the individual data records found within the Metadata Cloud for the barcode of the AEON record are listed. Each box represents an independent data record. More details of a data record can be displayed by expanding further fields of the boxes. The corresponding icons per box can be used to select the data sets for which processes are to be generated in Goobi.
Expanded boxes with additional fields displayed
Provided at least one record has been selected and there are no unfulfilled strict validations, clicking on the Create processes button allows the user to create the individual Goobi processes for the selected records based on the configured process template. This then takes the user to another view.
Second page with the option of downloading a docket
The left-hand pane lists the records for which processes have been created in Goobi. The right-hand pane offers the option of generating and downloading a docket for all created processes, where the associated processes are all listed together within a common batch.

Installation

The plug-in consists of the following files to be installed:
1
plugin_intranda_workflow_aeon_process_creation.jar
2
plugin_intranda_workflow_aeon_process_creation-GUI.jar
3
plugin_intranda_workflow_aeon_process_creation.xml
Copied!
These files must be installed in the correct directories so that they are available under the following paths after installation:
1
/opt/digiverso/goobi/plugins/workflow/plugin_intranda_workflow_aeon_process_creation.jar
2
/opt/digiverso/goobi/plugins/GUI/plugin_intranda_workflow_aeon_process_creation-GUI.jar
3
/opt/digiverso/goobi/config/plugin_intranda_workflow_aeon_process_creation.xml
Copied!

Configuration

The plugin is configured via the configuration file plugin_intranda_workflow_aeon_process_creation.xml and can be adapted during operation. The following is an example configuration file:
1
<config_plugin>
2
<aeon>
3
<url>https://example.com/api</url>
4
<apiKey>1234567890</apiKey>
5
<username>username</username>
6
<password>password</password>
7
</aeon>
8
9
<processCreation>
10
<workflowName>digitisation on demand</workflowName>
11
<opacName>metadata cloud</opacName>
12
</processCreation>
13
14
<transaction>
15
<field aeon="transactionNumber">
16
<title>Transaction Identifier</title>
17
<type readonly="true">input</type>
18
<variable place="process">Transaction Identifier</variable>
19
<help>This is my description for the field so that everyone gets some help.</help>
20
<validation strict="true">\d+</validation>
21
<message>Your content does not follow our validation guidelines</message>
22
</field>
23
24
<field aeon="creationDate">
25
<title>Creation Date</title>
26
<type readonly="false">input</type>
27
<variable place="process">Creation date</variable>
28
<help>This is my description for the field so that everyone gets some help.</help>
29
<message>Your content does not follow our validation guidelines</message>
30
</field>
31
32
<field aeon="itemTitle">
33
<title>Title</title>
34
<type readonly="false">input</type>
35
<variable place="process">Main title</variable>
36
<value>Transmission</value>
37
<help>This is my description for the field so that everyone gets some help.</help>
38
</field>
39
40
<field aeon="documentType">
41
<title>Document type</title>
42
<type readonly="false">input</type>
43
<variable place="process">Doc type</variable>
44
<help>This is my description for the field so that everyone gets some help.</help>
45
</field>
46
47
<field aeon="username">
48
<title>User Name</title>
49
<type readonly="false">input</type>
50
<variable place="process">User</variable>
51
<help>This is my description for the field so that everyone gets some help.</help>
52
</field>
53
</transaction>
54
55
<properties>
56
<field>
57
<title>Strict validation example</title>
58
<type readonly="false">input</type>
59
<variable place="process">Strict field</variable>
60
<value>no numeric value</value>
61
<help>This is my description for the field so that everyone gets some help.</help>
62
<validation strict="true">\d+</validation>
63
<message>Value is no number</message>
64
</field>
65
66
<field>
67
<title>Loose validation example</title>
68
<type readonly="false">input</type>
69
<variable place="process">Loose field</variable>
70
<value>no numeric value</value>
71
<help>This is my description for the field so that everyone gets some help.</help>
72
<validation strict="false">\d+</validation>
73
<message>Value is no number</message>
74
</field>
75
76
<field>
77
<title>no validation example</title>
78
<type readonly="false">input</type>
79
<variable place="process">Text field</variable>
80
<value>default value</value>
81
<help>This is my description for the field so that everyone gets some help.</help>
82
<message>Your content does not follow our validation guidelines</message>
83
</field>
84
<field>
85
<title>Dropdown example</title>
86
<type readonly="false">select</type>
87
<variable place="work">CoWorker</variable>
88
<value>Steffen</value>
89
<select>Steffen</select>
90
<select>Oliver</select>
91
<select>Robert</select>
92
<help>This is my description for the field so that everyone gets some help.</help>
93
</field>
94
95
<field>
96
<title>Vocabulary example</title>
97
<type readonly="false">vocabulary</type>
98
<variable place="work">Vocabulary</variable>
99
<vocabularyName>Subject terms</vocabularyName>
100
<vocabularyField>type=Person</vocabularyField>
101
<help>This is my description for the field so that everyone gets some help.</help>
102
</field>
103
<field>
104
<title>Boolean example</title>
105
<type readonly="false">checkbox</type>
106
<variable place="process">Status</variable>
107
<value>true</value>
108
<help>This is my description for the field so that everyone gets some help.</help>
109
</field>
110
</properties>
111
112
<processes>
113
<field aeon="bibId" displayAlways="true" displayInTitle="false">
114
<title>Bib Identifier</title>
115
<type readonly="true">input</type>
116
<variable place="process">Text field</variable>
117
<help>This is my description for the field so that everyone gets some help.</help>
118
</field>
119
<field aeon="title" displayAlways="true" displayInTitle="true">
120
<title>Item Title</title>
121
<type readonly="false">input</type>
122
<variable place="process">Text field</variable>
123
<help>This is my description for the field so that everyone gets some help.</help>
124
</field>
125
<field aeon="itemId" displayAlways="false" displayInTitle="false">
126
<title>Item Identifier</title>
127
<type readonly="true">input</type>
128
<variable place="process">Text field</variable>
129
<help>This is my description for the field so that everyone gets some help.</help>
130
</field>
131
<field aeon="holdingId" displayAlways="false" displayInTitle="false">
132
<title>Holding Identifier</title>
133
<type readonly="true">input</type>
134
<variable place="process">Text field</variable>
135
<help>This is my description for the field so that everyone gets some help.</help>
136
</field>
137
<field aeon="recordType" displayAlways="false" displayInTitle="false">
138
<title>Record type</title>
139
<type readonly="false">select</type>
140
<variable place="work">publication</variable>
141
<select>ils</select>
142
<select>aspace</select>
143
<help>This is my description for the field so that everyone gets some help.</help>
144
</field>
145
<field aeon="collection" displayAlways="false" displayInTitle="false">
146
<title>Collection</title>
147
<type readonly="false">input</type>
148
<variable place="work">Text field</variable>
149
<help>This is my description for the field so that everyone gets some help.</help>
150
</field>
151
</processes>
152
</config_plugin>
Copied!
The access data is managed within the <aeon> area. The URL to the RESTful API of AEON as well as the user name and password must be stored here. If, alternatively, a key is to be used for the use of the API, this must be specified.
In the block <processCreation> it can be defined which OPAC configuration is to be used to request catalogue data and on the basis of which production template the individual processes are to be created.
This is followed by the configuration of the fields that are displayed and can be imported. This is divided into 3 areas. The area <transaction> contains those fields that are read from the AEON record. The area <properties> contains freely definable properties that belong to the transactions to be created. And the area <processes> contains the fields that were obtained from the Metadata Cloud when querying the data.
The configuration within the three areas is almost identical. Each field is defined by a <field> element. Within this, the following options are subsequently provided:
Parameter
Explanation
title
display name of the field
type
Type of the field, possible values are input, select, vocabulary, checkbox.
readonly
The values true or false define whether the content of the field may be edited.
aeon
Name of the json element from which the field is filled. This parameter is not evaluated for the freely definable properties.
displayAlways
The values true or false define whether the field is displayed when only a minimised record is displayed. This parameter is only evaluated for the fields from the Metadata Cloud.
displayInTitle
The values true or false define whether the field is listed within the header of the box. This parameter is only evaluated for the fields from the Metadata Cloud.
variable
This parameter defines the name of the property to be created. This parameter is not evaluated for data from the Metadata Cloud.
place
This parameter defines the type of the property. Possible values are work (workpiece property), process (process property), template (template property).
value
This parameter can be used to set a default value. If an AEON element is configured and obtained by the query, the configured default value is overwritten with the content from AEON.
help
This parameter can be used to define a help text that can optionally be displayed.
validation
This parameter defines a regular expression against which the field content can be validated.
strict
The values true or false define whether a validation violation must be resolved before operations can be created.
message
This parameter specifies a message to be displayed in case of validation errors.
vocabularyName
This parameter defines a vocabulary to be used.
vocabularyField
The parameter fieldname=value can be used to restrict the hit set to values that meet this definition. The field is repeatable to define several restrictions at the same time.

Setting up required permissions

This plugin has its own permission level for use. For this reason, users must have the required permissions. Therefore, please assign the following right to the user group of the corresponding users:
1
Plugin_workflow_aeon_process_creation
Copied!
Correctly assigned right for the users
Last modified 22d ago