[Zope-CMF] Help to content migration Files / Images into CMF and
Archetypes content objects
Heimo Laukkanen
huima at iki.fi
Sun Oct 19 08:36:29 EDT 2003
Hi all,
I'm having a hard time converting / migrating content from different
objects into CMF content objects or into ArcheTypes content objects.
Textbased content-objects were easy, but objects that store either files
or images were problematic.
Different scenarios that I have tried are:
1) move image data from Image into CMFDefault Image
Works when I use new_content_object.edit(file=ImageObject.data)
2) move from file into CMF Default File
I tried above, but it did not work - data was not stored into content object
3) move image / file into Archetypes content object
I tried what is below:
ArchetypesObject.setImage(ImageObject.data)
But the image did not go into Image field.
Any help or thoughts would be appreciated since there will easily be
situations where I and others need to conver/migrate data from other
forms into Plone portals into portal content types or into ArcheTypes.
Using in this instance Archetype1.0.1, Zope 2.6.0, CMF 1.3.2 and Python
2.2.3.
-huima
More information about the Zope-CMF
mailing list