[Product-Developers] is schemaextender the way to add more metadata to pdfs

Andreas Jung lists at zopyx.com
Tue Apr 15 06:56:08 UTC 2008



--On 15. April 2008 16:45:54 +1000 Dylan Jay <gmane at dylanjay.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20080415/4784230d/attachment.asc>


More information about the Product-Developers mailing list