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.
<#——————————————————————> <#– Name: email_dashlet.ftl –> <#–Displays a table of all the email from a user imap space/–> <#– folder under Company Home/Data Dictionary/Imap Home/<currentLoginUser>/INBOX space –> <#– NOTE: This folder need not exist and –> <#– the email in it should have the subject and date(which is dropped onto the Repository) –> <#——————————————————————> <div style="overflow:auto; height:300px; width:100%;"> <table> <#assign iter = 0> <#list (companyhome.childByNamePath["Imap Home"]).children as space> <#if space.properties.name == "${person.properties.userName}"> <#assign l_space = companyhome.childByNamePath["Imap Home/${person.properties.userName}/INBOX"]> <#list l_space.children as email> <#if email.isDocument> <#if dateCompare(email.properties["cm:created"], date) == 0> <tr> <td> <#assign iter = iter+1> ${iter}. Sub: <a class="title"href="/alfresco/${email.url}">${email.properties.description}</a> by ${email.content} </td> </tr> <tr> <td> </td> </tr> </#if> </#if> </#list> <#break> </#if> </#list> <#if iter == 0> <tr> <td> There is no emails today. </td> </tr> </#if> </table> </div>