Hi
See feedback inline.
Regards,
Jose García
On Fri, Jun 29, 2018 at 8:08 AM, Peck-Choo Tan <P.Tan@anonymised.com> wrote:
Hi Jose,
I really need help desperately.
1. I installed 3.4.2.war
1. I copied iso19139.anzlic plugin from here to schema-plugins folder
https://github.com/metadata101/iso19139.anzlic
Question:
Where do I add this: src/main/resources/config-spring-geonetwork.xml
<https://github.com/metadata101/iso19139.anzlic/commit/8017c3b3399105d18a617815660cae7ea20403b0#diff-efa483686f42a79ef50333db5c3ae74a>
?@@ -5,5 +5,5 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd"><bean id="iso19139ANZLICSchemaPlugin"
- class="org.fao.geonet.schema.iso19139anzlic.
ISO19139ANZLICSchemaPlugin"/>+ class="org.fao.geonet.schema.iso19139.ISO19139SchemaPlugin"/>
</beans>
Each schema when you build GeoNetwork generates a jar file that includes
the Java code in the schema (if available as not mandatory) and this file.
You need to build the schema from the source code.
In any case not really sure if that is really required as the schema
doesn't have Java code. I think probably you can ignore that file.
1. I have problem with iso19139.anzlic plugin.
If a record has schemaid = ‘iso19139.anzlic’, in edit mode, it *does not
show* the ‘Associated Resources’ for me to attach a parent.1. If a record has schemaid = ‘iso19139’, ‘Associated Resources’ is
present.
2. Please see the 2 attached images to make what I trying to say
clearer.Is there anything else I need to add to make the iso19139.anzlic to show
‘‘Associated Resources’ in edit mode?
In 3.4.2 were done some changes in the way the side panel is configured,
previously was used a setting in the database, but now is configured in the
config-editor.xml, see
https://github.com/geonetwork/core-geonetwork/blob/3.4.x/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml#L3076-L3085
You need to add that snippet in the views of your schema config-editor.xml
Any help/lead will be much appreciated.
Thanks.
Peck
*-----------------------------------------------------------------------------------------------------*
*Peck Choo Tan I Analyst Programmer GNS Science I Te Pῡ Ao*
1 Fairway Drive, Avalon 5010, PO Box 30368, Lower Hutt 5040, New Zealand*Ph* 04 570 4739 I *Mob* 021 2178684
*http://www.gns.cri.nz/ *| Email*:
p.tan@anonymised.com <p.tan@anonymised.com>*Notice: This email and any attachments are confidential and may not be
used, published or redistributed without the prior written consent of the
Institute of Geological and Nuclear Sciences Limited (GNS Science). If
received in error please destroy and immediately notify GNS Science. Do not
copy or disclose the contents.
--
*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv>
<https://twitter.com/geocat_bv>
<https://plus.google.com/u/1/+GeocatNetbv/posts>Please consider the
environment before printing this email.*