Andreas Jung schrieb:


--On 15. April 2008 16:45:54 +1000 Dylan Jay <[EMAIL PROTECTED]> wrote:

I've got a requirement to make uploading of some special pdfs easier and
extend their metadata.

My thoughts are to allow upload via webdav or FlashUpload and then use a
custom workflow ensure all the new metadata is filled out.

It appears I can achieve this via
a) Create a new archetype based on ATFile with extra fields
b) Create a new archetype with an AttachmentField
c) Adapt the existing ATFile object to add the new metadata using
schemaextender.

I'm not sure of all the implications of each option.
option c seems good because I can then use ARFilePreview right?
and what are the implications if I wanted to use some external storage?
How local is SchemaExtender changes?

SchemaExtender applies to interface (possible also o classes).
Not sure if it would be possible to attach a marker interface to particular instances and then having an extender registered for this particular
marker interface...try it out.

-aj
Yes, that is possible. You can have schemaextender react on a marker interface as well. I do that in slc.publications which you can find in the collective.

br
alex
------------------------------------------------------------------------

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

--
Alexander Pilz
SYSLAB.COM GmbH, Landwehrstrasse 60-62, 80336 Munich, Germany
http://www.syslab.com - Amtsgericht Muenchen, HRB 135057
Steuernummer 143/184/50154 - Ust.-ID: DE212842815
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to