${space.properties["ml:madata"]}
<#list space.children as child>
<#if child.isContainer>
<tr>
<td><img src="${url.context}${child.icon32}"></td>
<td><b>${child.properties.name}</b> (${child.children?size})</td>
<td><b>${message("templates.general_example.path")}</b> ${child.displayPath}</td>
<td>${child.type} ${child.name} </td>
<td>${child.type} </td>
</tr>
</#if>
</#list>
</table>
${child.properties["ml:madata"]}
Bonjour,
Je cherche a faire une vue personnalisée (dans Explorer) d'un dossier père (custom folder) avec des données extraites de sous dossiers.
Les sous dossiers sont soit des content type soit des custom folder type.
Mon objectif est d'afficher une métadonnées custom du dossier fils quand le dossier fils est un custom folder.
la syntaxe suivante me permet d'afficher les une métadonnée custom de mon dossier père.${space.properties["ml:madata"]}
Le code .ftl suivant me permet d'afficher des métadonnées du dossier fils.<#list space.children as child>
<#if child.isContainer>
<tr>
<td><img src="${url.context}${child.icon32}"></td>
<td><b>${child.properties.name}</b> (${child.children?size})</td>
<td><b>${message("templates.general_example.path")}</b> ${child.displayPath}</td>
<td>${child.type} ${child.name} </td>
<td>${child.type} </td>
</tr>
</#if>
</#list>
</table>
Mais la syntaxe suivante ne permet pas d'afficher une métadonnées custom du dossier fils.${child.properties["ml:madata"]}
Auriez vous une solution.
Merci pour votre aide.
Mais la syntaxe suivante ne permet pas d'afficher une métadonnées custom du dossier fils.${child.properties["ml:madata"]}
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.