<?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: sending document url using mail.parameters.text in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298663#M251793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you try to build required URL like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var docURL = url.server + "/share/page/site/" + document.getSiteShortName() + "document-details?nodeRef=" + document.nodeRef ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 06:29:47 GMT</pubDate>
    <dc:creator>aaditvmajmudar</dc:creator>
    <dc:date>2014-05-16T06:29:47Z</dc:date>
    <item>
      <title>sending document url using mail.parameters.text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298658#M251788</link>
      <description>I wanted to send the document url via mail text on share javascript. i) I've triedmail.parameters.text = document.properties.url;andmail.parameters.text = document.properties.shareUrl;both returns null.ii) I tried copying the whole address based on folder name, such asmail.parameters.text = companyh</description>
      <pubDate>Thu, 15 May 2014 05:47:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298658#M251788</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-05-15T05:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: sending document url using mail.parameters.text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298659#M251789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which URL you want to send for document?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to send the path to that document then you can use below method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"document.displayPath" - Will return the physical path. e.g. /Company Home/Test_Space&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 07:07:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298659#M251789</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2014-05-15T07:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: sending document url using mail.parameters.text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298660#M251790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But what I wanted is to display the url in mail.parameters.text which is the same as function ${document.shareUrl} in the template file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I achieve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using this method now because I cannot pass bpm_template as mail.parameters.template=bpm_mailTemplate in processdefinition, I get template error… &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 09:32:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298660#M251790</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-05-15T09:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: sending document url using mail.parameters.text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298661#M251791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you paste that ${document.shareUrl} value here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In which file you saw this "${document.shareUrl}"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 11:25:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298661#M251791</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2014-05-15T11:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: sending document url using mail.parameters.text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298662#M251792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Data Dictionary &amp;gt; Email Templates &amp;gt; Notify Email Templates &amp;gt; any ftl files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${document.shareUrl}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From here, it returns&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8080/share/page/site/ar-rahnu/document-details?nodeRef=workspace://SpacesStore/de1d5fe3-44b6-48c8-a18f-c4ad21f7c8cd" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/page/site/ar-rahnu/document-details?nodeRef=workspace://SpacesStore/de1d5fe3-44b6-48c8-a18f-c4ad21f7c8cd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;which leads me to the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to use the same function on javascript only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I could use document.nodeRef, it returns me&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workspace://SpacesStore/de1d5fe3-44b6-48c8-a18f-c4ad21f7c8cd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I have to add the front part (&lt;/SPAN&gt;&lt;A href="http://127.0.0.1:8080/share/page/site/ar-rahnu/document-details?nodeRef=" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/page/site/ar-rahnu/document-details?nodeRef=&lt;/A&gt;&lt;SPAN&gt;) by using string&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way I could directly display &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8080/share/page/site/ar-rahnu/document-details?nodeRef=workspace://SpacesStore/de1d5fe3-44b6-48c8-a18f-c4ad21f7c8cd" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/page/site/ar-rahnu/document-details?nodeRef=workspace://SpacesStore/de1d5fe3-44b6-48c8-a18f-c4ad21f7c8cd&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using javascript?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 01:02:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298662#M251792</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-05-16T01:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: sending document url using mail.parameters.text</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298663#M251793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you try to build required URL like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var docURL = url.server + "/share/page/site/" + document.getSiteShortName() + "document-details?nodeRef=" + document.nodeRef ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 06:29:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-document-url-using-mail-parameters-text/m-p/298663#M251793</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2014-05-16T06:29:47Z</dc:date>
    </item>
  </channel>
</rss>

