Brilliant! Doesn't work with sequence-item, but with sequence-key it works perfectly. Saves me having to hack around it by setting a duplicate_id property at the same time as I set the id -- which is what I was doing. Many, many thanks. David