[EP-tech] Re: Updating a compound multiple field

Field A.N. af05v at ecs.soton.ac.uk
Fri Oct 2 16:00:37 BST 2015


Your assumptions are all correct.

--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814





On 2 Oct 2015, at 15:37, martin.braendle at id.uzh.ch wrote:

> Hi,
> 
> just a short question: Am I assuming correctly if I update a compound multiple field with 
> 
> $dataobj->set_value( array of hashes ) 
> 
> that the new values overwrite the existing ones and are not appended to the existing values?
> 
> E.g. if I want to keep the existing values, I need to read them out first and create a merged array with the new values that I have to write back?
> 
> Thanks,
> 
> Martin
> 
> --
> Dr. Martin Brändle
> Zentrale Informatik
> Universität Zürich
> Stampfenbachstr. 73
> CH-8006 Zürich
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/




More information about the Eprints-tech mailing list