Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create JSON file with configuration (see: configuration file)
  2. Open terminal (Mac OS or UNIX Systems) or Power shell (Windows) 
  3. Go to the folder where the script is located.
  4. Run Script with configuration file path parameter (just file name if the script is located in the same folder)
     • example of an executed script - java -jar  folio-contributors-field-mapping-rules-update-poppy.jar configuration.json (Should be executed with java 17)


The script does not update mapping rules for the MARC fields whose mapping has been customized by a user. In this case script will print MARC fields for which mapping rules could not be updated, and will suggest updating rules for such MARC fields manually following this guide.

Image Added

Configuration File

  • okapiUrl          - your library okapi url. (Can be seen in the app settings → software versions → okapi services → okapi)
  • tenant             - admin tenant
  • username        - admin user name
  • password        - admin user name password

...