Hello,

I am quite confused with invokeFactory to create content type in Plone 3.

I believed the parameters where those of the init method of the content
class (or the addContentType function).

I found the parameters in :
 - CMFDefault (Document.py, NewsItem.py, File.py, Image.py ..)
 - CMFCalendar (Event.py)

Then I had a problem with setModificationDate() which was not working until
I added an indexObject() call (but setCreationDate() was working).

Searching on plone site, I saw that Plone 3 was using ATContentTypes, and
not CMF Content Types (I saw that in portal_types).

Looking at ATContentTypes/content/document.py, event.py, ... is not clear to
find which parameters I could pass to invokeFactory. The parameters listed
in cmf_edit_kws ?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/old-content-import-in-Plone-3---which-parameters-for-invokeFactory-tp3232090p3232090.html
Sent from the Product Developers mailing list archive at Nabble.com.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to