Hi all,
i would to attach some external documents to an existing node. The documents can be also only downloaded and not obligatorilly viewed inside alfresco content service. Is there a way to do this? Thanks!
You may create a custom model for it, including some properties using d:noderef type to link the attachments.
The best way, as @angelborroy said, is to create a custom model and custom views for it. Example:
<aspect name="test:myAttachable"> <title>My cusotm attachable file</title> <associations> <child-association name="test:myAttachableConection"> <title>Connection to original file</title> <source> <mandatory>false</mandatory> <many>false</many> </source> <target> <class>cm:content</class> <mandatory>false</mandatory> <many>false</many> </target> </child-association> </associations> </aspect>
But if you are interested only in the attaching part you can create only a child-association in Java/JS
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.