manage_pasteObjects !!
Hi, I want to copy paste a object to particular folder is this syntax correct ?? in a python file ------------------------------------------------------ parameter: catchit context.foldername.manage_addProduct['OFSP'].manage_pasteObjects(manage_copyObjects(ids=[catchit])) ------------------------------------------------------- catchit contains the name of the object which has to be copied to a specified folder, along with its properties. Thanks, Sanju __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com
sanjeev c s <sanju22_us@yahoo.com> wrote:
Hi, I want to copy paste a object to particular folder is this syntax correct ??
in a python file ------------------------------------------------------ parameter: catchit
context.foldername.manage_addProduct['OFSP'].manage_pasteObjects(manage_copyObjects(ids=[catchit])) ------------------------------------------------------- catchit contains the name of the object which has to be copied to a specified folder, along with its properties.
But where is it copied *from* ? The basic syntax is: cp = sourcefolderobj.manage_copyObjects(ids=[catchit]) destfolderobj.manage_pasteObjects(cp) Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com
participants (2)
-
Florent Guillaume -
sanjeev c s