Hello everyone!
I'm trying to write a python script in my plone site that store a file
automatically in my zope db. I use at_post_create_script and i'm able to
insert all that i want into other field (Text, String, Lines, ecc..) but I
don't understand how to insert an AttachmentField with the method set.
Reading the method I saw that it needs 4 parameter: self, instance, value
and kwargs, but I didn't undestand what the last 3 parameters stand for.....
I'm using Plone 3.3.5, Python 2.4.6 and AttachmentField 1.4.4.
Can anyone help me? I'd really appreciate that!
Thank you very much for your attention!
Gabriele
--
View this message in context:
http://plone.293351.n2.nabble.com/How-to-set-AttachmentField-tp7561902.html
Sent from the Archetypes mailing list archive at Nabble.com.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Archetypes-users mailing list
Archetyp...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archetypes-users