As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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