Skip to content

Online form editing for all publication methods

Christine White edited this page Nov 15, 2013 · 2 revisions

By default, the geoportal is configured such that only metadata created with the geoportal metadata online form can be updated with the form, per Editing Resources documentation. This is in keeping with the best practice that source metadata should be updated close to the resource it describes so the resource itself always has the most current metadata.

Therefore the default behavior for the geoportal is to display a grayed out the pencil icon next to resources that were published in methods other than using the online form on the Manage Resources page. The grayed out pencil indicates that using the online form to update the metadata is not possible. The pencil will display in color only for metadata that was published by creating it with the online form.

This topic describes a customization that enables using the online form to update metadata that was published using any method - this is available at Geoportal Server version 1.2 and higher. Instructions follow.

IMPORTANT: The geoportal will use either the Geoportal XML Editor or the corresponding definition file as a template to provide the fields for editing the metadata. This means that if your source metadata contains elements that are not configured in the GXE metadata editor or the definition file, if you use the online form to update the metadata those elements will be erased from your metadata upon saving. For example, the '/metadata/eainfo/detailed' elements have not been implemented in the Geoportal XML editor for FGDC. If your source metadata contains such elements, then these will not be available for edit in the online form, and they will be removed from the document upon saving. If you want to enable such elements for edit, you will need to customize the GXE editor or the definition.xml file.

  • Open the \\geoportal\WEB-INF\classes\gpt\config\gpt.xml file
  • Find the "catalog.enableEditForAllPubMethods" parameter
  • Change the default value from "false" to "true".
  • Save the gpt.xml file.
  • Restart the geoportal web application for your change to take affect.

Back to Customizations
Clone this wiki locally