--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

Attachment: pgpxLAqylbrsm.pgp
Description: PGP signature

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

Reply via email to