[Zope] get object's objectManager from python script

Lee Harr missive@hotmail.com
Fri, 17 Aug 2001 18:20:21 +0000


>Lee Harr wrote:
> >
> > How can I get the folder that an object is in from a python script?
> >
> > Lee Harr
> > missive@hotmail.com
> >
>
>object.aq_parent
>
>or
>
>object.getParentNode()
>


Thank you. That helped a lot.

I was really surprised when a search for 'parent' in the Help browser
turned up nothing appropriate. I was even more surprised just now when
a search for 'aq_parent' turned up nothing _at_all_!



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp