Re: [Zope3-Users] Create catalog index via script

2006-06-18 Thread Florian Lindner
Am Samstag, 17. Juni 2006 10:38 schrieb Achim Domma: > Hi, > > I have a workspace object, which I initialize in the > IObjectCreatedEvent. I try to add a catalog with an index like this: > > ensureUtility(workspace,zope.app.intid.interfaces.IIntIds,'',IntIds,asObjec >t=True) > catalog=ensureUtility

[Zope3-Users] Create catalog index via script

2006-06-17 Thread Achim Domma
Hi, I have a workspace object, which I initialize in the IObjectCreatedEvent. I try to add a catalog with an index like this: ensureUtility(workspace,zope.app.intid.interfaces.IIntIds,'',IntIds,asObject=True) catalog=ensureUtility(workspace,zope.app.catalog.interfaces.ICatalog,'',Catalog,asObj