[Zope] Create top-level folder

Dylan Reinhardt zope@dylanreinhardt.com
30 Mar 2003 20:50:55 -0800


On Sun, 2003-03-30 at 16:45, Matt Ficken wrote:
> Part of my product's job is to create a top-level folder. Currently, I can only get it to create the folder in what ever folder the product is added in. I would like to be able to get access to the root directory object but don't know how.
> 
> How do I access the root directory object? Would 'getPhysicalRoot' do that? If yes, how do I use it?


First off, Zope-Dev is for the development *of* Zope, not *in* Zope.

As to your question, some discussion of the problem (and a couple
solutions) are here: http://www.zopelabs.com/cookbook/1003151229

HTH,

Dylan