Manipulating objects depends on whether they are based on the Archetypes subsystem or on the Dexterity subsystem.
For more information, consult the manual of the relevant subsystem:
After modifying the object, you need to reindex it in the
to update the search and listing information.
Cataloging has a quirk regarding the
metadata: when calling
on an object, the value for
will be set to the time of the reindex, regardless of the
value of the modified property of the object.
In order to store the correct value you can do an extra
reindex of the object with the
index as parameter.
First do a normal
reindexObject, then call it with the modified index explicitly:
For more information, see ** How to update this document.