Martin Koekenberg wrote at 2005-11-16 15:35 +0100:
Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4.
As you explained in a later message, you seem only be interested in the document's properties. This is possible (but requires a bit of work from you): You use the "PropertyManager" API (partially documented in Zope's online help system; implemented (and documented via docstrings) in "OFS.PropertyManager.PropertyManager") to ask the document for its property info and to recreate the same properties on the folder. You will do this in a script (implemented by yourself; there is rarely a need to convert a document into a folder (and as Andreas explained, it is usually impossible)). -- Dieter