As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<td> <#list child.properties["cm:categories"] as prop> ${prop.name}<br/> </#list> </td>
<aspect name="cm:versionable"> <title>Versionable</title> <properties> <property name="cm:versionLabel"> <title>Version Label</title> <type>d:text</type> <protected>true</protected> </property> <property name="cm:initialVersion"> <title>Initial Version</title> <type>d:boolean</type> <default>true</default> </property> <property name="cm:autoVersion"> <title>Auto Version</title> <type>d:boolean</type> <default>true</default> </property> </properties> </aspect>
Se ha producido un Error al procesar la plantilla 'Expected collection or sequence. child.properties["cm:versionLabel"] evaluated instead to freemarker.template.SimpleScalar on line 18, column 36 in workspace://SpacesStore/4898d410-a782-473d-a413-965dd6994bbc.'. Por favor contacte con el administrador del sistema.
<html><head></head> <body> <#– Table of docs in a specific folder –> <h3>${space.name} documents</h3> <table cellpadding=2 border=0 style="BORDER: 1px;"> <tr> <td></td> <td><b>Nombre</b></td> <td><b>Version</b></td> </tr> <#assign query = ".//*[subtypeOf('cm:content')]"> <#list space.childrenByXPath[query] as child> <tr> <#if child.properties["cm:versionLabel"]?exists> <td><a href="/alfresco${child.url}" target="new"><img src="/alfresco${child.icon16}" border=0></a></td> <td><a href="/alfresco${child.url}" target="new">${child.properties.name}</a></td> <td> <#list child.properties["cm:versionLabel"] as prop> ${prop.name}<br/> </#list> </td> </#if> </tr> </#list> </table> </body> </html>
<html><head></head> <body> <#– Table of docs in a specific folder –> <h3>${space.name} documents</h3> <table cellpadding=2 border=0 style="BORDER: 1px;"> <tr> <td></td> <td><b>Name</b></td> <td><b>Last Modified</b></td> <td><b>Categories</b></td> <td><b>Versions</b></td> </tr> <#assign query = ".//*[subtypeOf('cm:content')]"> <#list space.childrenByXPath[query] as child> <tr> <#if child.properties["cm:categories"]?exists> <td><a href="/alfresco${child.url}" target="new"><img src="/alfresco${child.icon16}" border=0></a></td> <td><a href="/alfresco${child.url}" target="new">${child.properties.name}</a></td> <td>${child.properties["cm:modified"]?string("dd-MMM-yyyy hh:mm")}</td> <td> <#list child.properties["cm:categories"] as prop> ${prop.name}<br/> </#list> </td> <td> <#if hasAspect(child, "cm:versionable") == 1> <#list child.versionHistory as record> <a href="/alfresco${record.url}" target="new">${record.versionLabel}</a> <b>-</b> </#list> </#if> </td> </#if> </tr> </#list> </table> </body> </html>