[Zope3-Users] Get to ZODB root from global utility

John Smith jsmith030416 at yahoo.co.uk
Wed Dec 14 10:47:57 EST 2005


Hi,

Does anyone know if there any way to get to the main
ZODB root of the site other than using
zope.app.zapi.getRoot(someObject)?

Here is the background. I want to programatically
create new folders underneath the Zope root, according
to some external source which my zope instance polls
periodically.

I have made a global utility what spawns a worker
thread which creates the folder objects. My problem is
I don't seem to be able to work out how to get hold of
the Zope root as I have not get any context.

Thanks,

John




	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


More information about the Zope3-users mailing list