copy item from on ObjectManager to another?
Suppose I have two object managers (folders) ob1 and ob2 and some item o which resides in ob1. I want to make a deep copy of o and place it on ob2. What is the proper incantation, using the zope python API? JDH Zope 2.7
----- Original Message ----- From: "John Hunter" <jdhunter@nitace.bsd.uchicago.edu>
Suppose I have two object managers (folders) ob1 and ob2 and some item o which resides in ob1. I want to make a deep copy of o and place it on ob2. What is the proper incantation, using the zope python API?
do a google on 'manage_copyObjects' Jonathan
"Jonathan" == Jonathan Hobbs <toolkit@magma.ca> writes:
Jonathan> do a google on 'manage_copyObjects' Thanks - I'm not sure this method is appropriate though. I'm using the python API (eg in a product) and I've found this about manage_copyObjects The argument to manage_copyObjects is a tuple of object IDs which must exist in the folder where you call the method. and I can't work with this constraint, eg I'm not calling the method from the folder containing the objects. JDH
participants (2)
-
John Hunter -
Jonathan Hobbs