01-03-2008 01:55 AM
01-03-2008 03:38 AM
<#assign isImage=node.isDocument && (node.mimetype = "image/gif" || node.mimetype = "image/jpeg" || node.mimetype = "image/png")>
<#if node.isDocument && !isImage>
<#assign c=cropContent(node.properties.content, 2048)>
<#if c?length != 0>
${c?html?replace('$', '<br>', 'rm')}<#if (c?length >= 2048)>…</#if>
</#if>
<#elseif isImage>
<a href="${url.context}${node.url}" target="new"><img src="${url.context}${node.url}?${node.size}" height="140" border="0"></a>
</#if>
01-03-2008 06:23 AM
01-18-2008 03:33 PM
freemarker.core.InvalidReferenceException: Expression cropContent is undefined on line …
no matter if I run it as a web script, action (execute script…) or "Preview in template" in the web client. Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.