6.4.1 Requirements in Goobi workflow

A new metadata ViewerSubTheme must be added to the ruleset. This is then also added to DocStructs that have the CatalogIDDigital metadata configured as a mandatory metadata.

The relevant parts from the ruleset are:

/opt/digiverso/goobi/ruletset.xml
<MetadataType> <Name>ViewerSubTheme</Name>
<language name="de">Alternative Darstellung</language>
<language name="en">Alternative view</language>
</MetadataType>
[...]
<metadata num="1o" DefaultDisplay="true">ViewerSubTheme</metadata>
[...]
<NamespaceDefinition>
<URI>https://intranda.com/MODS/</URI>
<prefix>intranda</prefix>
</NamespaceDefinition>
[...]
<Metadata>
<InternalName>ViewerSubTheme</InternalName>
<WriteXPath>./mods:mods/mods:extension/#intranda:viewersubtheme</WriteXPath>
</Metadata>

In the configuration file goobi_metadataDisplayRules.xml a drop-down menu with the desired subtheme names is assigned:

/opt/digiverso/goobi/config/goobi_metadataDisplayRules.xml
<context projectName="*">
<select1 ref="ViewerSubTheme">
<item selected="true">
<label>Keine</label>
<value />
</item>
<item selected="false">
<label>Mein Subtheme</label>
<value>my-subtheme</value>
</item>
</select1>
</context>