<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FTL Email Template Document Link in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215457#M168587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you change the macro to a function so you've got more control over the exact returned value. See &lt;/SPAN&gt;&lt;A href="http://freemarker.org/docs/ref_directive_function.html" rel="nofollow noopener noreferrer"&gt;http://freemarker.org/docs/ref_directive_function.html&lt;/A&gt;&lt;SPAN&gt; for details - it's pretty easy to swap between the two.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 16:29:09 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2010-02-24T16:29:09Z</dc:date>
    <item>
      <title>FTL Email Template Document Link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215454#M168584</link>
      <description>Folks,I have an issue where I 'm creating a link to a document for an Email template and am getting a space in the URL link in the email sent to users that I cannot explainIn the FTL I imput the line belowhttp://localhost:8080/share/page/site/TaxAndDutyManuals/taxdutymanuallibrary#path=&amp;lt;@location</description>
      <pubDate>Tue, 23 Feb 2010 15:19:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215454#M168584</guid>
      <dc:creator>gmurphy</dc:creator>
      <dc:date>2010-02-23T15:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: FTL Email Template Document Link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215455#M168585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What's in the @location macro?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 15:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215455#M168585</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-02-23T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: FTL Email Template Document Link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215456#M168586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the Macro &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#macro location doc&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;#assign qnamePaths = doc.qnamePath?split("/") /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;#assign displayPaths = doc.displayPath?split("/") + [""] /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;#if ((qnamePaths?size &amp;amp;gt; 5) &amp;amp;&amp;amp; (qnamePaths[2] == "st:sites"))&amp;gt;&amp;lt;#list displayPaths[5..] as path&amp;gt;&amp;lt;#if path_has_next&amp;gt;/&amp;lt;/#if&amp;gt;${path}&amp;lt;/#list&amp;gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&amp;lt;/#macro&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;which I have changed to &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#macro location doc&amp;gt;&lt;BR /&gt;&amp;lt;#assign qnamePaths=doc.qnamePath?split("/")/&amp;gt;&lt;BR /&gt;&amp;lt;#assign displayPaths=doc.displayPath?split("/")+[""]/&amp;gt;&lt;BR /&gt;&amp;lt;#if ((qnamePaths?size&amp;amp;gt;5)&amp;amp;&amp;amp;(qnamePaths[2]=="st:sites"))&amp;gt;&amp;lt;#list displayPaths[5..]as path&amp;gt;&amp;lt;#if path_has_next&amp;gt;/&amp;lt;/#if&amp;gt;${path}&amp;lt;/#list&amp;gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&amp;lt;/#macro&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and now have moved the break in the link in the email to a different part of the line See below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A href="http://localhost:8080/share/page/site/taxdutymanual/taxdutymanuallibrary#path=/Master-Documents/Appeals" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/page/site/taxdutymanual/taxdutymanuallibrary#path=/Master-Documents/Appeals&lt;/A&gt;&lt;BR /&gt;&amp;amp;file=workspace%3A%2F%2FSpacesStore%2F06d164e4-3c4e-4429-b831-bfcd78546c5c&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It now breaks between &lt;/SPAN&gt;&lt;EM&gt;/Appeals&lt;/EM&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;EM&gt;&amp;amp;file=&lt;/EM&gt;&lt;SPAN&gt; and the hightlighted link stops at /Appeals the rest is just text&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think its a rouge space&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 16:09:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215456#M168586</guid>
      <dc:creator>gmurphy</dc:creator>
      <dc:date>2010-02-24T16:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTL Email Template Document Link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215457#M168587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you change the macro to a function so you've got more control over the exact returned value. See &lt;/SPAN&gt;&lt;A href="http://freemarker.org/docs/ref_directive_function.html" rel="nofollow noopener noreferrer"&gt;http://freemarker.org/docs/ref_directive_function.html&lt;/A&gt;&lt;SPAN&gt; for details - it's pretty easy to swap between the two.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 16:29:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-email-template-document-link/m-p/215457#M168587</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-02-24T16:29:09Z</dc:date>
    </item>
  </channel>
</rss>

