1.1 Local settings
The following files can be created in the local configuration folder:
config_viewer.xml
(main configuration file of the Goobi viewer)config_imageFooter.xml
(configuration file for the image footer)config_pdfTitlePage.xml
(configuration file for the PDF title page)
Any configuration element in the global configuration file config_viewer.xml
(on an Ubuntu system, for example at /var/lib/tomcat9/webapps/viewer/WEB-INF/classes
) can be overwritten with a user-defined configuration in the local config_viewer.xml
, except for the configFolder
parameter.
For example, the following configuration element exists in the global configuration file config_viewer.xml
:
<collections>
<redirectToWork>true</redirectToWork>
</collections>
The following entry in the local configuration file config_viewer.xml
will overwrite the entry of the same name in the global configuration file and thus disable the automatic redirection to the record if a collection contains only one record:
<collections>
<redirectToWork>false</redirectToWork>
</collections>
It is sufficient to insert only those elements into the local configuration file which should deviate from the default value of the global configuration file and should therefore be overwritten. All other elements are still read from the default configuration file.
In addition to individual configuration settings, entire lists of entries can be overwritten.
An example are lists of metadata types to be displayed:
<metadata>
<metadataView index="0">
<template name="_DEFAULT">
<metadata label="MD_TITLE" value="">
<param type="field" key="MD_TITLE" />
</metadata>
<metadata label="MD_SHELFMARK" value="">
<param type="field" key="MD_SHELFMARK" />
</metadata>
</template>
</metadataView>
</metadata>
The above example replaces the complete block <metadataView index="0">
in the default configuration file.
Last updated
Was this helpful?