Hi,i wrote an aspect containing a simple association property targeting cm:content types:1- Model:
<aspects>
<aspect name="ad:mailattachements">
<title>contenu joint</title>
<associations>
<association name="ad:customattachements">
<title>pieces jointes</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:content</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
</aspects>
2- configuration of the aspect for share:
<config evaluator="aspect" condition="ad:mailattachements">
<forms>
<form>
<field-visibility>
<show id="ad:customattachements" />
</field-visibility>
<appearance>
<field id="ad:customattachements" label-id="prop.ad_customattachements" />
<control template="/org/alfresco/components/form/controls/association.ftl">
<control-param name="compactMode">true</control-param>
<control-param name="showTargetLink">true</control-param>
</control>
</appearance>
</form>
</forms>
</config>
Like you can see in the attached file, the aspect works fine. In the properties, the last element "pieces jointes" (attachements in french) shows the associated documents. I would like to make those links clickable, so they can redirect the user to the associated document.Can someone give me some advice on how i can do that? Thanks!