cancel
Showing results for 
Search instead for 
Did you mean: 

How to add the hyperlink to an associated file thru the aspect - cm:referencing.

andy2_0
Champ in-the-making
Champ in-the-making
I enabled the out-of-the-box aspect: associations.
Currently I can associate several files to a document, but while I click a file associated, it can't jump to the file.
How to implement it? Thanks for your help in advance!

2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
You need to add this parameter in your share-config-custom.xml
"showTargetLink" = true something like this

config evaluator="node-type" condition="cm:content">
   <forms>
      <form>
         <appearance>
            <field id="custom:association">
               <control template="/org/alfresco/components/form/controls/association.ftl">
                  <control-param name="showTargetLink">true</control-param>
               </control>
            </field>                          
         </appearance>
      </form>
   </forms>
</config>

andy2_0
Champ in-the-making
Champ in-the-making
Thanks for Mits' quick response, will try and get back to you on the result. Again thanks!