cancel
Showing results for 
Search instead for 
Did you mean: 

cm:content Property upload interface

sirdodger
Champ in-the-making
Champ in-the-making
Hi,

I have a custom model, and that model has two cm:content properties.  (One is called "original" and one is called "derived".)

    <property name="mySmiley Surprisedriginal" multiple="true">
        <type>d:content</type>
    </property>

    <property name="my:derived" multiple="true">
        <type>d:content</type>
    </property>

When I add fields to the UI using:

    <show-property name="mySmiley Surprisedriginal" show-in-edit-mode="true" />
    <show-property name="my:derived" show-in-edit-mode="true" />

It displays a text box, presumably looking for a URI.  How can I hook into the normal content upload box to upload to the repository, and then reference that file?  Is there an appropriate serial-file-upload wizard which I can use to upload multiple files into each?

Thanks.
4 REPLIES 4

gavinc
Champ in-the-making
Champ in-the-making
Unfortunately, the property sheet does not handle the d:content property type.

You will need to add custom support for handling these types of properties. Hopefully support will be added in 1.4 for this scenario.

sirdodger
Champ in-the-making
Champ in-the-making
Thanks for the speedy response!

alexeyg
Champ in-the-making
Champ in-the-making
Just wondering if there are any news on this feature… cannot find any information about it in the Wiki (http://wiki.alfresco.com/wiki/Roadmap#Web_Client_Improvements)

Thanks!

alexeyg
Champ in-the-making
Champ in-the-making
Found associated JIRA entry for reference:

http://issues.alfresco.com/browse/AWC-816