[GeoNetwork-devel] How to retrieve the metadata version (metadata.update)

Hi,

Is there any way to query the version number of a metadata record using the
id or uuid?

It is necessary to provide the correct version number to update an existing
record. Otherwise it throws a Concurrent update error.

http://geonetwork-opensource.org/latest/developers/xml_services/metadata_xml_services.html

Refer: Update metadata (metadata.update)

Thanking you in advance.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-retrieve-the-metadata-version-metadata-update-tp6931226p6931226.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi,

you may want to give a look at this project:
   http://code.google.com/p/geonetwork-manager/

It provides, among the other, operations to update a metadata and to retrieve
its version number.
It relies on GN capability to return the internal data without applying the
XSL transformations.

   Ciao,
   Emanuele

Alle 03:17:44 di Wednesday 26 October 2011, thuwa ha scritto:

Hi,

Is there any way to query the version number of a metadata record using the
id or uuid?

It is necessary to provide the correct version number to update an existing
record. Otherwise it throws a Concurrent update error.

http://geonetwork-opensource.org/latest/developers/xml_services/metadata_xm
l_services.html

Refer: Update metadata (metadata.update)

Thanking you in advance.

--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/How-to-retrieve-the-metadata-versio
n-metadata-update-tp6931226p6931226.html Sent from the GeoNetwork developer
mailing list archive at Nabble.com.

---------------------------------------------------------------------------
--- The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@anonymised.com Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
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

--

-------------------------------------------------------
Ing. Emanuele Tajariol
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://twitter.com/geosolutions_it
http://it.linkedin.com/in/etajariol
-------------------------------------------------------