On Fri, Jan 11, 2013 at 7:33 AM, Christian Ledermann
<[email protected]> wrote:
> with at i used
> Products.ATBackRef
>
> to have references between two items which could be edited from either side.
>
> how do I do this with dexterity?

Create indexes in portal_catalog for this for each UUID-based
reference field name that you maintain.

Let's assume you want to use UUIDs for references (meaning BytesLine
or List(value_type=BytesLine()) fields).  Let's suppose your field is
called "my_related_thing" -- you create a FieldIndex (or KeywordIndex,
for a list) for that field in portal_catalog; search that for backrefs
pointing to the UUID of the target objects.  Done.

Sean
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to