Thanks for getting back to me about this. I have succeeded in adding in the directory templates. I think the documentation needs expanding about this, so I will make some changes and submit a pull request.
···
On Fri, Aug 19, 2016 at 2:00 PM, Jose Garcia <jose.garcia@anonymised.com…437…> wrote:
Hi Jo
See feedback inline.
Regards,
Jose García
–
On Fri, Aug 12, 2016 at 6:39 PM, Jo Cook <jocook@…1036…> wrote:
Hi All,
I’ve just tested this in two different geonetwork 3.0.x installations- and I’m not sure if what I’m seeing is a bug or expected behaviour. When, as a full administrator, I go to the admin console/classification systems/directories I don’t see anything already set up. The help documentation http://geonetwork-opensource.org/manuals/trunk/eng/users/administrator-guide/managing-classification-systems/managing-directories.html suggests there should be blue tabs with “Organisations and contacts” but I don’t see that (see attached screenshot). Does this only appear when you’ve already created a directory somehow?
You need to add the iso19139 templates. Among the templates, there’s 2 subtemplates used for directories:
https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/templates/sub-PointOfContact.xml
https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/templates/sub-OnlineResource.xml
In case you’re using a custom profile and want to load only the templates/subtemplates of your profile, you can add these 2 files in the templates folder of your profile.
Furthermore, that same documentation goes on to talk about the API page for extracting contact information from existing records but doesn’t give the link to the page. The documentation on the API at http://geonetwork-opensource.org/manuals/trunk/eng/users/api/the-geonetwork-api.html suggests that http://blah/geonetwork/api-doc/ should work but it doesn’t for me, and I can’t get any variation on /api-doc or /api to work at all.
This only applies to the develop branch, not to 3.0.x.
The API call is the one indicated in the image (although would be good to add it as text): http://geonetwork-opensource.org/manuals/trunk/eng/users/_images/directories-api-collect.png
I have done a quick check to the code in 3.0.x and seem there’s no similar feature.
Happy to submit bugs or help with documentation if someone can confirm whether what I’m seeing is a bug, or just user misunderstanding.
Thanks
Jo
–
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
–
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18 7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
iShare - enterprise geographic intelligence platform
GeoServer, PostGIS and QGIS training
Helpdesk and customer portal
Company registration no. 5410695. Registered in England and Wales. Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
GeoNetwork-devel mailing list
GeoNetwork-devel@anonymised.comorge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
–
Vriendelijke groeten / Kind regards,
Jose García
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664
Please consider the environment before printing this email.
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek