core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Metadata editor - WMS resources - allow to configure the WMS layer info to add to the resource name and resource description fields in the url mode.

Open josegar74 opened this issue 2 years ago • 0 comments

Related to #6195

This change allows to configure when using the mode addLayerNamesMode=url which WMS properties should be used to fill the online resource name and the online resource description.

  • resourceName: allowed values layerName (WMS layer name) | layerTitle (WMS layer title)
  • resourceDescription : allowed values layerName (WMS layer name) | layerTitle (WMS layer title)

If these properties are not provided, the resource name or resource description are not filled automatically with the WMS information and the user should fill them.

This change doesn't affect the default addLayerNamesMode mode (resourcename).

Attached a screencast using the following configuration:

 "wmsResources": {
    "addLayerNamesMode": "url",
    "resourceName": "layerTitle"
  }

wmslayers-resourcename.webm

josegar74 avatar Jul 18 '22 06:07 josegar74