I have an content object (Dexterity type) with some fields. I want to search through the portal_catalog for the index values of this single object. I got only information about the way to get the complete values of an index, but not about the way how to get only the ones that are connected to the single object.
I explain why I had to get the values (to display them in the view, created using TAL) from the catalog:
The field of the Dexterity is created from a vocabulary (different license choices). I want to remove some legacy entries from the active choice of the field (by adding an if clause to the vocabulary Python function). But I had to show the legacy entries for some older objects (because I cannot change their licenses).
I looked through the Plone documentation especially for catalog queries, but could find a pointer to work on a solution for my issue.
It’d be great if I could get such a pointer.
Thanks in advance for any help