ok, so having looked at
I think the steps would be:
The reference is stored as a property of the source object. In my case I have
author_ids = multireference_sourceid_property(PoemToPerson)
I need to:
Change the multireference to a reference
Create ContentReferenceClass which inherits from ReferenceClass but allows the addition of ContentItem, a content object to the reference.
The ContentItem object has the same name as the Reference.
Rather than call author_ids = multireference_sourceid_property(PoemToPerson)
I will need to do something along the lines of
poem. author = (ref.getContentObject((PoemToPerson), ref.reference_sourceid_property(PoemToPerson))
I then update the content object and the reference as I need to.
Am I on the right track or going completely in the wrong direction?
Anything to look out for?