Greetings Everyone,
I would like to know how we can customize the elements in editor for different resourceTypes
For example, If I want to show Tillkomsthistorik only for datasets in the editor, could this be done using any configs for editor
XPATH: /gmd:MD_Metadata/gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString
Regards,
Harshavarthini M
Hi
The field elements support an attribute if to check for some condition. I think you can use that for your requirement.
See an example in https://github.com/geonetwork/core-geonetwork/blob/2731e560fd9e3a8cea16047082cf557d3c0978c5/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml#L1422-L1424
Regards,
Jose García
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
|
---- El Mon, 13 Mar 2023 08:13:25 +0100, harshavarthini— via GeoNetwork-devel geonetwork-devel@lists.sourceforge.net escribió ----
Greetings Everyone,
I would like to know how we can customize the elements in editor for
different resourceTypes
For example, If I want to show Tillkomsthistorik only for datasets in
the editor, could this be done using any configs for editor
XPATH:
/gmd:MD_Metadata/gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString
Regards,
Harshavarthini M
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Hi, you can check EEA editor config which creates custom editor for series, spatial and tabular datasets
eg. https://github.com/eea/geonetwork-eea/blob/eea-4.2.0/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml#L711-L714
Cheers.
Francois
Le lun. 13 mars 2023 à 08:57, Jose Garcia via GeoNetwork-devel <geonetwork-devel@anonymised.comeforge.net> a écrit :
Hi
The field elements support an attribute if to check for some condition. I think you can use that for your requirement.
See an example in https://github.com/geonetwork/core-geonetwork/blob/2731e560fd9e3a8cea16047082cf557d3c0978c5/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml#L1422-L1424
Regards,
Jose García
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
|
---- El Mon, 13 Mar 2023 08:13:25 +0100, harshavarthini— via GeoNetwork-devel <geonetwork-devel@anonymised.comorge.net> escribió ----
Greetings Everyone,
I would like to know how we can customize the elements in editor for
different resourceTypes
For example, If I want to show Tillkomsthistorik only for datasets in
the editor, could this be done using any configs for editor
XPATH:
/gmd:MD_Metadata/gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString
Regards,
Harshavarthini M
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork