[Zope-CMF] Is there a way to change the meta-type of a number of object types

marc lindahl marc@bowery.com
Sun, 29 Jul 2001 13:25:45 -0400


> From: "Norman Khine" <khine@btinternet.com>
> 
> I can create a Topic query which can list these items, but I don't think it
> is possible to change them, or is it?

You'd need to create a new portal_type based on Document, then put the
subjects and other metadata in portal_metadata, then write a script (the
'yecch' part) to convert all your existing objects.

> 
> Where in the system, does an object stores these detail and can it be
> changed?

It's more like, when you create the particular object, the type is
instantiated (Document), so you kind of have to copy the 'guts' of the
Document object into the 'guts' of a new Card object.