<#assign couvertureDir = "Apercu" />
<#assign colcount=0>
Ce dossier contient des documents dont un aperçu vous est présenté ci-dessous. <p>
<table width=100%>
<#list space.children as enfant>
<#if enfant.isContainer && enfant.properties.name = "${couvertureDir}">
<#list enfant.children as fichier>
<#if fichier.isDocument>
<#if fichier.mimetype = "image/jpeg">
<#if colcount % 6 = 0><tr></#if>
<td align=center>
<div style='padding:8px'>
<a href="/alfresco${fichier.url}" target="new"><img src="/alfresco${fichier.url}" width=120 border=0></a>
</div>
<#if
<div>
<a href="/alfresco${fichier.url}" target="new">${fichier.properties.name}</a>
</div>
</td>
<#if colcount % 6 = 5></tr></#if>
<#assign colcount=colcount+1>
</#if>
</#if>
</#list>
</#if>
</#list>
</table>
L'évolution a ensuite consisté à y ajouter le nom du document (JPG actuellement) et un lien vers ce fichier mais j'aimerais pouvoir substituer l'extension PDF à celle de l'apercu, vérifier que le document existe bien et ensuite y appliquer le lien d'édition.Content from pre 2016 and from language groups that have been closed.
Content is read-only.
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.