Skip to content

Further OS customisations

Jo Cook edited this page Aug 30, 2022 · 1 revision

Configuring and customising the portal via the catalog interface

The following changes were made via the admin console to further customise the portal:

  • Rename catalogue
  • Import Gemini 2.3 templates
  • Disable footer
  • Disable map application
  • Remove the language search bar in top toolbar (by deleting all languages except English)
  • Delete the included demo metadata records
  • Enable editing of harvested records in settings
  • Create Public group for metadata records
  • Create new users
  • Add new editors to Public group
  • Run harvester to bring in initial data records from WAF at https://www.ordnancesurvey.co.uk/xml/products/ into Public group
  • In Metadata & Templates / Validation, set or confirm the following:
    • Gemini 2.3 Schema V1.0 to 'required to be valid'
    • Gemini 2.3 Supp v1.0 to 'Only report errors'
    • schematron-rules-ISOTS19139A1Const to 'required to be valid'
  • Enable 'Workflow' in settings and set or confirm the following:
    • Allow submission/approval of invalid metadata: Unticked
    • Allow publication of non-approved metadata: Unticked
    • Allow publication of invalid metadata: Unticked
  • Update CSS & Style, import json to customise styling: {"gnTopicsBackgroundColor":"#FFFFFF","gnMenubarBackground":"#FFFFFF","gnSearchButtonBackgroundColor":"#FF3366","gnMenubarColorHover":"#453C90","gnMenubarBackgroundHover":"#FFFFFF","gnMenubarColorActive":"#453C90","gnMenubarBackgroundActive":"#FFFFFF","gnBottombarBackground":"#FFFFFF","gnBottombarColor":"#453C90","gnMenubarBorderColor":"#FFFFFF"}
  • Add a sub-portal for NGD
  • Add ip of OS vpn as Intranet in settings.

Additional customisations

If customisations are made that require changes to files, the files must be committed to this repository (in the correct folder location to map to the server) and added as volume mounts in the GeoNetwork service (https://github.com/AstunTechnology/os-custom-geonetwork/blob/main/docker/docker-compose-3.10-ecs-os-rds.yml#L36).

These comprise the following general types of change:

  • Schema-plugins (new schema-plugins must be declared here before they can be used in GeoNetwork)
  • Security changes (for example after the PEN test)
  • OS-specific interface changes

Note in particular that there is an OS-specific override for the iso19139.gemini23/layout/config-editor.xml