Goobi workflow
Documentation homeGoobi workflow PluginsGoobi workflow Digests
English
English
  • Overview
    • Goobi workflow Handbook
    • Overview of documentation
    • What is Goobi?
  • Users
    • Goobi for Users
    • The basics
      • Logging in
      • Menu
      • Logging out
      • Switch between available languages
      • Help function
      • Personal settings
      • Changing your password
      • My tasks
      • Processes
      • How to find a process
      • How to create a new process
      • Edit task details
    • How different user groups work with Goobi
      • Scanning
      • Quality control
      • Manual script steps and plugin steps
      • Automatic script-run steps
      • Metadata processing
      • Export to the DMS
    • Metadata Editor
      • User interface
        • Structure tree
        • Page display
        • Menu options
      • Metadata indexing
        • Pagination
        • Structuring
          • Create new structure element
          • Moving structure elements
          • Copying structure elements from other processes
      • Modifying and verifying data
        • Subsequent changes to pagination
        • Uploading files
        • Downloading files
        • Server-based exports
        • Server-based imports
      • Edit OCR results
      • Overview of the keyboard combinations
  • Management
    • Goobi Management
    • Structure of the extended user interface
    • Rulesets
    • LDAP groups
    • Users
    • User groups
    • Processes
      • Searching processes
      • Activity
      • Activities for hit lists
      • GoobiScript
    • Variables
    • Harvester
  • Administration
    • Goobi Administration
    • File system
      • Global directory structure
        • ‘config’ sub-directory
        • ‘import’ sub-directory
        • ‘metadata’ sub-directory
        • ‘plugins’ sub-directory
        • ‘rulesets’ sub-directory
        • ‘scripts’ sub-directory
        • ‘xslt’ sub-directory
      • Directory structure of the application
      • Integrating external storage
      • Integration of S3 as storage
    • Services
      • MySQL database
      • Apache Tomcat servlet container
      • User authentication using LDAP
      • File system access using Samba
    • Exporting to digital libraries
      • Technical data
      • Mets parameters
      • Mets file groups
      • Export configuration in the Goobi configuration file
    • Working with the intranda Task Manager
    • Automatic workflow steps
      • Example combination for an automatic script task
      • Migration of technical data to METS files
      • Automatic image deletion
    • Configuration files
      • goobi_activemq.xml
      • goobi_config.properties
      • goobi_digitalCollections.xml
      • goobi_exportXml.xml
      • goobi_mail.xml
      • goobi_metadataDisplayRules.xml
      • goobi_normdata.xml
      • goobi_opac.xml
      • goobi_opacUmlaut.txt
      • goobi_processProperties.xml
      • goobi_projects.xml
      • goobi_rest.xml
      • goobi_webapi.xml
      • messages_xx.properties
      • config_contentServer.xml
    • Installation guide
      • Installation guide - Ubuntu 20.04
    • Update guide
      • Preparation of an update
      • Update steps
        • 2020
        • 2021
        • 2022
        • 2023
        • 2024
        • 2025
    • Authentication options
      • Authentication via the database
      • Authentication via HTTP header
      • Authentication via OpenID Connect
    • Use cases
      • Create thumbnails for accelerated image display
      • Handling of 3D Objects
      • Export of 3D-Objects into the Goobi viewer
  • Developer
    • Setting up a development environment
      • Preparatory work
      • Setting up Eclipse
      • Resetting the data
      • Best practice for developing Goobi and working with Eclipse
    • Using the REST API
    • Snippets for the development on Goobi workflow
      • HTML
      • JavaScript
Bereitgestellt von GitBook
Auf dieser Seite
  • Static variables
  • Static variable: {prefs}
  • Static variable: {processid}
  • Static variable: {processtitle}
  • Static variable: {stepid}
  • Static variable: {stepname}
  • Static variable: {processpath}
  • Static variable: {importpath}
  • Static variable: {imagepath}
  • Static variable: {tifpath}
  • Static variable: {origpath}
  • Static variable: {metaFile}
  • Static variable: {tifurl}
  • Static variable: {origurl}
  • Static variable: {sourcepath}
  • Static variable: {projectid}
  • Static variable: {projectname}
  • Static variable: {projectidentifier}
  • Static variable: {iiifMediaFolder}
  • Static variable: {iiifMasterFolder}
  • Dynamic variables
  • Dynamic variable: {process.NAME}
  • Dynamic variable: {product.NAME}
  • Dynamic variable: {template.NAME}
  • Dynamic variable: {meta.NAME}
  • Dynamic variable: {meta.topstruct.NAME}
  • Dynamic variable: {meta.firstchild.NAME}
  • Dynamic variable: {db_meta.NAME}
  • Dynamic variable: {datetime.PATTERN}
Als PDF exportieren
  1. Management

Variables

Goobi can also use variables when performing certain actions. Some of these variables can be used only in specific contexts, e.g. the variables {login} and {user full name} when configuring the LDAP.

There are also ‘static’ and ‘dynamic’ variables. These can be used at various points, e.g. when calling scripts or configuring projects.

Static variables

Static variables are variables with a fixed name and a defined value.

Static variable: {prefs}

Variable:
{prefs}

Sample value:

/opt/digiverso/goobi/rulesets/ruleset.xml

Meaning:

This is the absolute path to the ruleset file specified in the process.

Static variable: {processid}

Variable:
{processid}

Sample value:

27

Meaning:

This is the internal identifier to which the process is linked in Goobi.

Static variable: {processtitle}

Variable:
{processtitle}

Sample value:

kleiuniv_PPN517154005

Meaning:

This is the process title.

Static variable: {stepid}

Variable:
{stepid}

Sample value:

6519

Meaning:

This is the internal identifier to which the workflow step is linked in Goobi. This variable can be used only when calling scripts.

Static variable: {stepname}

Variable:
{stepname}

Sample value:

scanning

Meaning:

This is the title of the workflow step. This variable can be used only when calling scripts.

Static variable: {processpath}

Variable:
{processpath}

Sample value:

/opt/digiverso/goobi/metadata/27/

Meaning:

The absolute path to the folder in which all the process data are located.

Static variable: {importpath}

Variable:
{importpath}

Sample value:

/opt/digiverso/goobi/metadata/27/import

Meaning:

The absolute path to the import folder for the process. This is a subfolder of {processpath}. It contains the files that were generated or imported when performing an import.

Static variable: {imagepath}

Variable
{imagepath}

Sample value:

/opt/digiverso/goobi/metadata/27/images

Meaning:

The absolute path to the image folder for the process. This is a subfolder of {processpath}. It contains various folders for each item of digitised material.

Static variable: {tifpath}

Variable:
{tifpath}

Sample value:

/opt/digiverso/goobi/metadata/27/images/kleiuniv_PPN517154005_media

Meaning:

The absolute path to the media folder for the process. This is a subfolder of {imagepath}. It contains the optimised digital images. This folder is usually exported at the end of the workflow.

Static variable: {origpath}

Variable:
{origpath}

Sample value:

/opt/digiverso/goobi/metadata/27/images/master_kleiuniv_PPN517154005_media

Meaning:

The absolute path to the media folder for the process. This is a subfolder of {imagepath}. It contains the scanned images. Derivatives for other folders are usually generated from this folder.

Static variable: {metaFile}

Variable:
{metaFile}

Sample value:

/opt/digiverso/goobi/metadata/27/meta.xml

Meaning:

The absolute path to the metadata file in Goobi. This file can be present in a range of formats.

Static variable: {tifurl}

Variable:
{tifurl}

Sample value:

Meaning:

The path for {tifpath} as a valid URL.

Static variable: {origurl}

Variable:
{origurl}

Sample value:

Meaning:

The path for {origpath} as a valid URL.

Static variable: {sourcepath}

Variable:
{sourcepath}

Sample value:

/opt/digiverso/goobi/metadata/27/images/kleiuniv_PPN517154005_source/

Meaning:

The path to the source folder for the process. This folder can be used to store files that are to be included in exports to the Goobi viewer.

Static variable: {projectid}

Variable:
{projectid}

Sample value:

4

Meaning:

The internal ID of the project within the Goobi workflow database.

Static variable: {projectname}

Variable:
{projectname}

Sample value:

Monographs 1850-1950

Meaning:

The name of the project within the Goobi workflow database.

Static variable: {projectidentifier}

Variable:
{projectidentifier}

Sample value:

M1850-1950

Meaning:

The speaking identifier that was additionally given to the project independent of the database ID.

Static variable: {iiifMediaFolder}

Variable:
{iiifMediaFolder}

Sample value:

Meaning:

Listing of IIIF URLs to all images from the media directory of a process

Static variable: {iiifMasterFolder}

Variable:
{iiifMasterFolder}

Sample value:

Meaning:

Listing of IIIF URLs to all images from the master directory of a process

Dynamic variables

As well as static variables, there is a range of dynamic variables that can be used to access all the freely configurable data in Goobi.

Dynamic variable: {process.NAME}

Variable:
{process.NAME}

Example:

{process.b-number}

Sample value:

b20057465

Meaning:

This variable can be used to access the value of every process attribute.

Dynamic variable: {product.NAME}

Variable:
{product.NAME}

Example:

{product.Artist}

Sample value:

Niedersächsische Staats- und Universitätsbibliothek Göttingen, Germany

Meaning:

This variable can be used to access the value of every workpiece attribute.

Dynamic variable: {template.NAME}

Variable:
{template.NAME}

Example:

{template.Shelfmark}

Sample value:

8 HLP II, 8726

Meaning:

This variable can be used to access the value of every template attribute.

Dynamic variable: {meta.NAME}

Variable:
{meta.NAME}

Example:

{meta.PlaceOfPublication}

Sample value:

Göttingen

Meaning:

This variable allows you to use the value of an item of metadata. The metadata file is searched recursively, and the first value found is used.

Dynamic variable: {meta.topstruct.NAME}

Variable:
{meta.topstruct.NAME}

Example:

{meta.topstruct.CatalogId Digital}

Sample value:

517154005

Meaning:

This variable allows you to use the value of an item of metadata. Only the highest structure element is searched for the metadata.

Dynamic variable: {meta.firstchild.NAME}

Variable:
{meta.firstchild.NAME}

Example:

{meta.firstchild.CurrentNo}

Sample value:

12

Meaning:

This variable allows you to use the value of an item of metadata located in the first sub-element of the main element. This is particularly useful in the case of multi-volume or periodical structures.

Dynamic variable: {db_meta.NAME}

Variable:
{db_meta.NAME}

Example:

{db_meta.DocStruct}

Sample value:

Monograph

Meaning:

With this variable the value of a metadata can be used. This is not read from the METS file itself in this case, but instead comes from the cached version from the database.

Dynamic variable: {datetime.PATTERN}

variable:
{datetime.PATTERN}

Example:

{datetime.yyyy-MM-dd}

Example value:

2024-08-13

Meaning:

This variable can be used to generate the current date and time in any format. The format PATTERN can contain all permitted symbols for date and time formatting in Java. You can find more information on this at: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html

VorherigeGoobiScriptNächsteHarvester

Zuletzt aktualisiert vor 5 Monaten

"", "", ...

"", "", ...

file:///opt/digiverso/goobi/metadata/27/images/kleiuniv_PPN517154005_media
file:///opt/digiverso/goobi/metadata/27/images/master_kleiuniv_PPN517154005_media
http://example.com/goobi/api/process/image/12345/schudiss_618299084_media/00000001.tif/full/max/0/default.jpg?jwt=1234567890
http://example.com/goobi/api/process/image/12345/schudiss_618299084_media/00000002.tif/full/max/0/default.jpg?jwt=0987654321
http://example.com/goobi/api/process/image/12345/schudiss_618299084_master/00000001.tif/full/max/0/default.jpg?jwt=1234567890
http://example.com/goobi/api/process/image/12345/schudiss_618299084_master/00000002.tif/full/max/0/default.jpg?jwt=0987654321