<?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: Need email notification to point to Share not Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235439#M188569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The core Repository (where your e-mail template gets populated) knows nothing about Share Sites or how to generate URLs to arbitrary pages that may or may not exist. Share is one example of a remote application that uses the Repository for storage, so this separation is valid. URLs would have to be generate by code that was "Share aware" such as the example I gave.&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I'm not sure how comparing a REST-based two-tier CMS to a PHP forum is particularly relevant.&amp;nbsp; :?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2010 20:24:02 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2010-01-28T20:24:02Z</dc:date>
    <item>
      <title>Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235434#M188564</link>
      <description>Hello-I want to change the following code to point to Share instead of to Alfresco since my users only have access to Share.From notify_user_email.ftl**************You can view it through this link:https: //mydomain/alfresco${document.url}*************An example desired rendered URL would look like</description>
      <pubDate>Wed, 27 Jan 2010 15:13:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235434#M188564</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-27T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235435#M188565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I am trying to achieve can be seen on the document details page for any content item in Share - in the right hand nav there is a box titled Share with "Document URL".&amp;nbsp; In this box is the URL to this particular document - I need to know how that URL is dynamically generated.&amp;nbsp; I thought I had it figured out when I changed the URL in the notify_user_email.ftl to http: //mydomain/share/proxy/alfresco-feed/api/node/content${document.url} but the ${document.url} generates a leading /d/d that breaks the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL to the document is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;https: //mydomain/share/proxy/alfresco-feed/api/node/content/workspace/SpacesStore/b2e3c064-9988-422e-8416-05795e70d5fe/notify_user_email-3.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above example generates the following URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;https: //mydomain/share/proxy/alfresco-feed/api/node/content/d/d/workspace/SpacesStore/b2e3c064-9988-422e-8416-05795e70d5fe/notify_user_email-3.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 14:12:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235435#M188565</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-28T14:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235436#M188566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yup - one of those days.&amp;nbsp; I meant to say I wanted to know how the URL was generated in the "This Page URL"….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 17:04:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235436#M188566</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-28T17:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235437#M188567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately it's a bit tricky, assuming you want to direct the user to the details page..? The "The Page URL" is literally copied from window.location.href, so it's not really generated at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the others, there's some work in the DocLib webscripts to work out whether an arbitrary nodeRef (which could live anywhere in the Repository) is actually part of a Site or not. This is done by examining the node's qnamePath. Something like: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var qnamePaths = node.qnamePath.split("/");&lt;BR /&gt;var displayPaths = node.displayPath.split("/");&lt;BR /&gt;if ((qnamePaths.length &amp;gt; 5) &amp;amp;&amp;amp; (qnamePaths[2] == "st:sites"))&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // This asset belongs to a site&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var site = displayPaths[3];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [generate the url]&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to generate the URL from there, although you'd have to "know" the first part, e.g. &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/server:port/share/page/site/{site}/document-details?nodeRef={nodeRef" rel="nofollow noopener noreferrer"&gt;http://server&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/share/page/site/{site}/document-details?nodeRef={nodeRef&lt;/A&gt;&lt;SPAN&gt;}&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>Thu, 28 Jan 2010 19:50:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235437#M188567</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-01-28T19:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235438#M188568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First - thanks for the reply…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is beyond my skill set - I was hoping it was as easy as adding something like ${document-link.page} to the end of the known part of the URL.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I sure would have thought this would have been basic functionality for the application - even this forum has the email alert ability.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 19:59:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235438#M188568</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-28T19:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235439#M188569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The core Repository (where your e-mail template gets populated) knows nothing about Share Sites or how to generate URLs to arbitrary pages that may or may not exist. Share is one example of a remote application that uses the Repository for storage, so this separation is valid. URLs would have to be generate by code that was "Share aware" such as the example I gave.&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I'm not sure how comparing a REST-based two-tier CMS to a PHP forum is particularly relevant.&amp;nbsp; :?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 20:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235439#M188569</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-01-28T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235440#M188570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok - I'm not that great of a coder and all I want is the code to put into the notify_email_user.ftl to provide the correct URL on the email notifications.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a document somewhere that can walk me through the process of how to create the appropriate dynamic URL?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 22:36:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235440#M188570</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-28T22:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235441#M188571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still haven't figured this out but here's how I **think** one would dynamically construct the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://mydomain.com/share/page/site/az/document-details?nodeRef=workspace://SpacesStore/66c42c1b-0d58-4757-a08b-c20ab51f3be6" rel="nofollow noopener noreferrer"&gt;https://mydomain.com/share/page/site/az/document-details?nodeRef=workspace://SpacesStore/66c42c1b-0d58-4757-a08b-c20ab51f3be6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems to me the only thing I need to figure out is how to reference the site - az in this example and the variable that represents the document in the SpaceStore - 66c42c1b-0d58-4757-a08b-c20ab51f3be6 in this example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would think it would be something like &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://mydomain.com/share/page/site/${document.site}/document-details?nodeRef=workspace://SpacesStore/${document.node" rel="nofollow noopener noreferrer"&gt;https://mydomain.com/share/page/site/${document.site}/document-details?nodeRef=workspace://SpacesStore/${document.node&lt;/A&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't find the reference document that outlines the list of the ${…}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2010 15:18:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235441#M188571</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-02-13T15:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235442#M188572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Will the introduction of the repository browser in 3.2 r bring any solutions for this ? I believe more and more users will only face Alfresco through the share client (not the webclient), so it would be very useful if the e-mail templates would re-direct us to the correct interface.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 11:38:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235442#M188572</guid>
      <dc:creator>janvg</dc:creator>
      <dc:date>2010-04-19T11:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235443#M188573</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;BR /&gt;&lt;SPAN&gt;what do I do with this piece of code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var qnamePaths = node.qnamePath.split("/");&lt;BR /&gt;var displayPaths = node.displayPath.split("/");&lt;BR /&gt;if ((qnamePaths.length &amp;gt; 5) &amp;amp;&amp;amp; (qnamePaths[2] == "st:sites"))&lt;BR /&gt;{&lt;BR /&gt;// This asset belongs to a site&lt;BR /&gt;var site = displayPaths[3];&lt;BR /&gt;[generate the url]&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot put it inside a template, so where should it go?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 20:30:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235443#M188573</guid>
      <dc:creator>felipe_gdr</dc:creator>
      <dc:date>2010-07-02T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235444#M188574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using that sample code from the webscripts, I figured out how to get the site name into the url for the document. The code below assumes you know the folder is a site. I am assuming this because I created a separate email template for sites and choose that template when I create the rule. The code below could be easily extended to check using the qname.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#assign ref=space.nodeRef&amp;gt;&lt;BR /&gt;&amp;lt;#assign displayPaths=document.displayPath?split("/")&amp;gt;&lt;BR /&gt;&amp;lt;#assign site=displayPaths[3]&amp;gt;&lt;BR /&gt;&lt;A href="http://${url.serverPath}/share/page/site/${site}/document-details?nodeRef=${document.nodeRef" rel="nofollow noopener noreferrer"&gt;http://${url.serverPath}/share/page/site/${site}/document-details?nodeRef=${document.nodeRef&lt;/A&gt;}&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 14:47:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235444#M188574</guid>
      <dc:creator>jager13579</dc:creator>
      <dc:date>2010-08-24T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235445#M188575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;is this possible? i´ve tried many thing to accomplish that but still not able to do such a thing.&lt;BR /&gt;&lt;BR /&gt;any help is welcome.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;All the code you need is in this thread.&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, 17 Nov 2010 08:21:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235445#M188575</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-11-17T08:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235446#M188576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What I am trying to achieve can be seen on the document details page for any content item in Share - in the right hand nav there is a box titled Share with "Document URL".&amp;nbsp; In this box is the URL to this particular document - I need to know how that URL is dynamically generated.&amp;nbsp; I thought I had it figured out when I changed the URL in the notify_user_email.ftl to http: //mydomain/share/proxy/alfresco-feed/api/node/content${document.url} but the ${document.url} generates a leading /d/d that breaks the URL.&lt;BR /&gt;&lt;BR /&gt;For example - &lt;BR /&gt;The URL to the document is:&lt;BR /&gt;https: //mydomain/share/proxy/alfresco-feed/api/node/content/workspace/SpacesStore/b2e3c064-9988-422e-8416-05795e70d5fe/notify_user_email-3.ftl&lt;BR /&gt;&lt;BR /&gt;The above example generates the following URL:&lt;BR /&gt;https: //mydomain/share/proxy/alfresco-feed/api/node/content/d/d/workspace/SpacesStore/b2e3c064-9988-422e-8416-05795e70d5fe/notify_user_email-3.ftl&lt;BR /&gt;&lt;BR /&gt;Thoughts?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hate to bump an old thread; however, I ran into the same problem and wanted to share my success. I used this basic concept here and was able to actully just trim off the beining of the string when you use the ${document.url} variable. I used ${document.url?substring(3)} instaed with a begening of https: //mydomain/share/proxy/alfresco-feed/api/node/content and my generated URLs work like a charm!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 21:37:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235446#M188576</guid>
      <dc:creator>b_fergerson</dc:creator>
      <dc:date>2010-12-15T21:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235447#M188577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have done it that way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;${url.serverPath}/share/page/document-details?nodeRef=${document.nodeRef}&lt;BR /&gt;${url.serverPath}/share/proxy/alfresco/api/node/content${document.url?substring(4)}&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The first link opens the Share page of the document. The second link opens or downloads the document directly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may force the download of the document (rather then opening in browser) with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;${url.serverPath}/share/proxy/alfresco/api/node/content${document.url?substring(4)}?a=true&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;If &lt;/SPAN&gt;&lt;EM&gt;${url.serverPath}&lt;/EM&gt;&lt;SPAN&gt; returns something with &lt;/SPAN&gt;&lt;EM&gt;localhost&lt;/EM&gt;&lt;SPAN&gt; or so, consider to set &lt;/SPAN&gt;&lt;EM&gt;repo.remote.url&lt;/EM&gt;&lt;SPAN&gt; in &lt;/SPAN&gt;&lt;EM&gt;alfresco-global.properties&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;repo.remote.url=&lt;A href="http://your.domain.com:8080/alfresco" rel="nofollow noopener noreferrer"&gt;http://your.domain.com:8080/alfresco&lt;/A&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I hope this helps. If you find errors please respond!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 17:47:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235447#M188577</guid>
      <dc:creator>mpeters</dc:creator>
      <dc:date>2011-12-08T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need email notification to point to Share not Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235448#M188578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, this was very helpful. How would a reference to the folder in which the document is look like?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 12:38:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-email-notification-to-point-to-share-not-alfresco/m-p/235448#M188578</guid>
      <dc:creator>vpetrena</dc:creator>
      <dc:date>2015-02-27T12:38:00Z</dc:date>
    </item>
  </channel>
</rss>

