From c255d985a8b584e3f722d4fa227901cc05fafe45 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Fri, 17 May 2024 16:10:58 +0200 Subject: [PATCH] EEA / Editor / Series / Configure panel https://taskman.eionet.europa.eu/issues/270163. --- .../config/associated-panel/eeaseries.json | 71 +++++++++++++++++++ .../plugin/iso19139/layout/config-editor.xml | 5 +- 2 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 schemas/iso19139/src/main/plugin/iso19139/config/associated-panel/eeaseries.json diff --git a/schemas/iso19139/src/main/plugin/iso19139/config/associated-panel/eeaseries.json b/schemas/iso19139/src/main/plugin/iso19139/config/associated-panel/eeaseries.json new file mode 100644 index 0000000000..b93d470b57 --- /dev/null +++ b/schemas/iso19139/src/main/plugin/iso19139/config/associated-panel/eeaseries.json @@ -0,0 +1,71 @@ +{ + "config": { + "display": "radio", + "types": [{ + "label": "addOnlinesrc", + "sources": { + "filestore": true + }, + "icon": "fa gn-icon-onlinesrc", + "process": "onlinesrc-add", + "fields": { + "protocol": { + "value": "WWW:LINK-1.0-http--link", + "isMultilingual": false, + "required": true, + "tooltip": "gmd:protocol" + }, + "url": { + "isMultilingual": false, + "required": true, + "tooltip": "gmd:URL" + }, + "name": {"tooltip": "gmd:name"}, + "desc": {"tooltip": "gmd:description"}, + "function": { + "isMultilingual": false, + "tooltip": "gmd:function" + }, + "applicationProfile": { + "isMultilingual": false, + "tooltip": "gmd:applicationProfile" + } + } + }, { + "label": "addThumbnail", + "sources": { + "filestore": true, + "thumbnailMaker": true + }, + "icon": "fa gn-icon-thumbnail", + "fileStoreFilter": "*.{jpg,JPG,jpeg,JPEG,png,PNG,gif,GIF}", + "process": "thumbnail-add", + "fields": { + "url": { + "param": "thumbnail_url", + "isMultilingual": false, + "required": true + }, + "name": {"param": "thumbnail_desc"} + } + }], + "multilingualFields": ["name", "desc"], + "wmsResources": { + "addLayerNamesMode": "resourcename" + }, + "associatedResourcesTypes": [{ + "type": "siblings", + "label": "linkToSibling", + "config": { + "sources": { + "metadataStore": { + "params": { + "isTemplate": "n" + } + }, + "remoteurl": {"multiple": true} + } + } + }] + } +} diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml b/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml index a482717d8b..68cd7d493b 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml @@ -2323,9 +2323,10 @@ transformations="to-iso19139-keyword-with-anchor"/> + + -