There is provision for a preview option in that all operations run in test mode (until you check the box that says you're ready to apply it) but many don't have log file access to look at the results. So the results should be sent back to the browser - easy to add and I should be able to do that later today/tomorrow.
Rolling back using the subversion repository could be done manually now (browse the repository, extract records from the version required, reload/replace) - however it would indeed be a nice future enhancement (not only for this operation but for many others as well) to have a more sophisticated rollback mechanism.
Nothing specific to any profile but you obviously need to make sure that your XPath and title extraction XSLT apply to the different profiles/schemas used by the records in the selected set - otherwise they will not be processed.
The future enhancement you've suggested would be good!
Cheers,
Simon
________________________________________
From: Jesse Eichar [jesse.eichar@anonymised.com]
Sent: Friday, 4 May 2012 5:14 AM
To: Pigot, Simon (CMAR, Hobart)
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] CFV: Proposal to add extract subtemplates batch function on selected records
Absolutely love it but have a few questions
* Is there no preview option or a way to roll all back (if using versioning).
* What profiles will be able to execute this?
* (future enhancement) It would be nice to have pluggable id strategies. For example the value of a contact might be email for a particular application while for extent it might be a buffer + overlaps spatial comparison. It would be nice to have a drop down to select which type of uniqueness check to apply.
Jesse
On Thu, May 3, 2012 at 1:19 PM, <Simon.Pigot@anonymised.com<mailto:Simon.Pigot@anonymised.com…192…>> wrote:
Dear PSC Members,
There is a small proposal describing how this function works and a patch at extractSubtemplates – GeoNetwork opensource Developer website
The idea is to help those sites with existing metadata records extract reusable components/fragments of metadata as subtemplates. The proposal uses a register record describing a vocabulary with approx 1800 terms (register items) as an example - a more common example would be contact information in an ISO responsibleparty block.
Cheers and thanks,
Simon
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net<mailto:GeoNetwork-devel@anonymised.comforge.net>
geonetwork-devel List Signup and Options
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork