Hi all,
I'm trying to create a flexible document using datamodel of another flexible document. Both have the same type_name.
I use a code like :
firstDocDataModel = firstDocProxy.getDataModel(firstDocProxy)
SecondDocProxy=createCPSDocument_cb('type_name',firstDocDataModel)
But unfortunatly this doesn't copy me flexible fields in the second document. I think this is becoz their schemas and layouts were not copied as for flexible docs, schemas and layouts are created in the document proxy.
Is there a way to create such a document using the datamodel of another? Thanks by advance!
---------------------------------
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060508/425509c5/attachment.htm
Hosting: Nuxeo: Zope service provider