Buenas tardes, estoy haciendo un webscript para sacar un listado de folders, todo jala bien hasta que hago referencia a alguna propiedad del modelo;
<html>
<head>
<title>Carpeta ${folder.displayPath}/${folder.name}</title>
</head>
<body>
<p>Alfresco ${server.edition} Edición v${server.version} : dir</p>
<p>Contenidos de la carpeta ${folder.displayPath}/${folder.name}</p>
<table>
<#list folder.children as child>
<tr>
<td><#if child.isContainer>d</#if></td>
<#if verbose>
<td>${child.properties.modifier}</td>
<td><#if child.isDocument>
${child.properties.content.size}</#if></td>
<td>${child.properties.modified?date}</td>
</#if>
<td>${child.name}</td>
</tr>
</#list>
</table>
</body>
</html>
Eso me funciona sin problema, pero si quiero poner algo como ${child.properties[modelo:asunto]} no me deja, y dice que no existe, ¿cuál sería la manera correcta de mandarlo llamar?
Muchas gracias de antemano.
do like this :
child.properties["cm:name"];
Thank you, I did it as follows;
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
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.