<?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 Insert Link to Document in Share in Email Template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/insert-link-to-document-in-share-in-email-template/m-p/192281#M145411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to include the link to the document in Share with a notification email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The default notification template is pointing toward the document through Alfresco Explorer (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;ourServerName&amp;gt;/alfresco/navigate/browse/${workspace}/${storenode}). &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;However, I would like to point the user toward the document via the Share portal: (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;ourServerName&amp;gt;/share/[whatever need to go here]).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone familiar with the variables I'm to inject in the freemarker template to make this happen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any and all help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fernando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2009 20:11:48 GMT</pubDate>
    <dc:creator>fernandoe</dc:creator>
    <dc:date>2009-03-25T20:11:48Z</dc:date>
    <item>
      <title>Insert Link to Document in Share in Email Template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-link-to-document-in-share-in-email-template/m-p/192281#M145411</link>
      <description>Hi all,I'm trying to include the link to the document in Share with a notification email.The default notification template is pointing toward the document through Alfresco Explorer (http://&amp;lt;ourServerName&amp;gt;/alfresco/navigate/browse/${workspace}/${storenode}). However, I would like to point the u</description>
      <pubDate>Wed, 25 Mar 2009 20:11:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-link-to-document-in-share-in-email-template/m-p/192281#M145411</guid>
      <dc:creator>fernandoe</dc:creator>
      <dc:date>2009-03-25T20:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Link to Document in Share in Email Template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-link-to-document-in-share-in-email-template/m-p/192282#M145412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now, I can use this code but still didn't find how to refer site&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;ourServerName&amp;gt;:8080/share/page/site/SiteXXX/document-details?nodeRef=${document.nodeRef}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have anyone know how to refer site name from Alfresco Explorer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try this but didn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#assign path=space.displayPath&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#assign site=path[path?index_of("Sites/")+6..&amp;lt;#if space.name != "documentLibrary"&amp;gt;path?index_of("/documentLibrary")-1&amp;lt;/#if&amp;gt;]&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I can get only site name by using this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#assign path=space.displayPath&amp;gt;&lt;BR /&gt;&amp;lt;#if space.name != "documentLibrary"&amp;gt;&lt;BR /&gt;&amp;lt;#assign site=path[path?index_of("Sites/")+6..path?index_of("/documentLibrary")-1]&amp;gt;&lt;BR /&gt;&amp;lt;#else&amp;gt;&lt;BR /&gt;&amp;lt;#assign site=path[path?index_of("Sites/")+6..]&amp;gt;&lt;BR /&gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&lt;BR /&gt;http://&amp;lt;ourServerName&amp;gt;:8080/share/page/site/${site}/document-details?nodeRef=${document.nodeRef}&lt;BR /&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;/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 09:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-link-to-document-in-share-in-email-template/m-p/192282#M145412</guid>
      <dc:creator>neozone</dc:creator>
      <dc:date>2009-12-10T09:02:14Z</dc:date>
    </item>
  </channel>
</rss>

