<?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 Site name in Freemarker Email Template? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235229#M188359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to set up a content rule that sends an Email to a list of users whenever a document has been changed in a Share site. Email works just fine, I can access all properties, such as "document.name", etc. and they will show in the Email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I would like to send a link to the share site, something like &lt;/SPAN&gt;&lt;EM&gt;"&lt;A href="http://someserver/share/.../document" rel="nofollow noopener noreferrer"&gt;http://someserver/share/.../document&lt;/A&gt;" &lt;/EM&gt;&lt;SPAN&gt; rather than the alfresco link &lt;/SPAN&gt;&lt;EM&gt;"&lt;A href="http://someserver/alfresco/.../document" rel="nofollow noopener noreferrer"&gt;http://someserver/alfresco/.../document&lt;/A&gt;"&lt;/EM&gt;&lt;SPAN&gt; that is generated by "document.url". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would basically be enough to get the name of the site from somewhere, I could just use this to generate the link manually - but I have not any reference to how to determine the name of the site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help greatly appreciated !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andreas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2009 13:27:36 GMT</pubDate>
    <dc:creator>andreas_wilmsme</dc:creator>
    <dc:date>2009-11-16T13:27:36Z</dc:date>
    <item>
      <title>Site name in Freemarker Email Template?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235229#M188359</link>
      <description>Hi,I am trying to set up a content rule that sends an Email to a list of users whenever a document has been changed in a Share site. Email works just fine, I can access all properties, such as "document.name", etc. and they will show in the Email.However, I would like to send a link to the share sit</description>
      <pubDate>Mon, 16 Nov 2009 13:27:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235229#M188359</guid>
      <dc:creator>andreas_wilmsme</dc:creator>
      <dc:date>2009-11-16T13:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Site name in Freemarker Email Template?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235230#M188360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still wondering how this is done? Any information about that someone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 16:09:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235230#M188360</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2011-05-13T16:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Site name in Freemarker Email Template?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235231#M188361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I have used but it's a kludge. The ${site} variable appears to be a memory location or something :?: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${url.serverPath}/share/page/site/${site}/document-details?nodeRef=${document.nodeRef}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's another stab at directing the client to the document located in share &lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://connect.hyland.com/i/smilies/16x16_smiley-indifferent.png" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${url.serverPath}/share/page/site/${document.siteShortName!""}/&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 20:00:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/site-name-in-freemarker-email-template/m-p/235231#M188361</guid>
      <dc:creator>telesforos</dc:creator>
      <dc:date>2012-02-09T20:00:14Z</dc:date>
    </item>
  </channel>
</rss>

