Open jaroel opened 9 years ago
How would this work in Dexterity?
There was no activity on this for a while. I close this request for now. If you plan to work further on this please reopen and go on.
Reopening this based on the discussion in https://community.plone.org/t/new-addon-collective-relationhelpers-to-manage-create-export-and-rebuild-relations/12365.
Proposal: Add link_objects
(https://github.com/collective/collective.relationhelpers/blob/master/src/collective/relationhelpers/api.py#L213) and get_relations
(https://github.com/collective/collective.relationhelpers/blob/master/src/collective/relationhelpers/api.py#L279) to content.py
.
TODOs:
get_relations
Somehow get references and/or referenced objects.
For getting the objects, use
get_referred_from
andget_referred_to
:For getting the actual references, use
get_references_from
: