EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04836
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Updating a compound multiple field
- To: "Eprints Technical" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Updating a compound multiple field
- From: martin.braendle@id.uzh.ch
- Date: Fri, 2 Oct 2015 16:37:02 +0200
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
- Follow-Ups:
- [EP-tech] Re: Updating a compound multiple field
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Updating a compound multiple field
- Prev by Date: [EP-tech] Re: [SOLVED] Re: How to set a field to be multilang (autocomplete)
- Next by Date: [EP-tech] Re: Updating a compound multiple field
- Previous by thread: [EP-tech] Re: search for 2-character-string
- Next by thread: [EP-tech] Re: Updating a compound multiple field
- Index(es):