AnsweredAssumed Answered

Content type with multiple d:content properties

Question asked by aspa on Mar 2, 2009
Latest reply on Feb 8, 2011 by jamen

I'm trying to define a content type that would allow multiple items of d:content to be attached.
I created a custom type based on cm:content with the following definition

    <type name="my:content">
        <property name="my:content">
but model validation fails if I set multiple=true.

It seems that Alfresco doesn't allow properties of this type to be multivalued.
I would need to attach multiple files to a content item.

What would be the best way to achieve this?
Should I model the compound content type by extending cm:content and using association?
Or extend cm:folder and use containment?