[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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/