core-geonetwork
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.
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 valueslayerName
(WMS layer name) |layerTitle
(WMS layer title) -
resourceDescription
: allowed valueslayerName
(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"
}