<?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 shareUrl expression in wf-email template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/shareurl-expression-in-wf-email-template/m-p/277225#M230355</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 have run into a problem recently wherein the workflow emails sent to users have a malformed url at the bottom. At the bottom of the email (beneath "Click this link to edit the task:") the link is "&lt;/SPAN&gt;&lt;A href="https://our.server.address:8080/share/page/task-edit?taskId=activiti$26578" rel="nofollow noopener noreferrer"&gt;https://our.server.address:8080/share/page/task-edit?taskId=activiti$26578&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN&gt;" The problem is the combination of &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow noopener noreferrer"&gt;https://&lt;/A&gt;&lt;SPAN&gt; and :8080. We have SSL set up on port 8443 here, so I want to change this so the link displays "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://...:8443/share/" rel="nofollow noopener noreferrer"&gt;https://...:8443/share/&lt;/A&gt;&lt;SPAN&gt;…" (preferably) or "&lt;/SPAN&gt;&lt;A href="http://...:8080/share/" rel="nofollow noopener noreferrer"&gt;http://...:8080/share/&lt;/A&gt;&lt;SPAN&gt;…".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking through wf-email.html.ftl I see this comes from the ${shareUrl} expression. I've tried using the javascript console to run a template just containing that expression, in case it was a root object, which it does not appear to be (it is undefined at least from the context of the javascript console).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked through WorkflowNotificationUtils.java but this argument is notset in that class (although the other arguments are).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've looked through the various OOTB workflow process definitions but don't see it being set (or indeed, anything to do with the notification emails).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In our alfresco-global.properties, we have -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=our.server.address&lt;BR /&gt;alfresco.port=8080&lt;BR /&gt;alfresco.port.ssl=8443&lt;BR /&gt;alfresco.protocol=https&lt;BR /&gt;&lt;BR /&gt;share.context=share&lt;BR /&gt;share.host=our.server.address&lt;BR /&gt;share.port=8080&lt;BR /&gt;share.port.ssl=8443&lt;BR /&gt;share.protocol=https&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;/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;Should I just change the share.port and alfresco.port to 8443? Would it cause any issues with accessing it via :8080?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know my other option is to just hardcode the start of our URL in the template, however I'd prefer to follow the alfresco model as much as possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2012 01:50:18 GMT</pubDate>
    <dc:creator>chrisokelly</dc:creator>
    <dc:date>2012-10-30T01:50:18Z</dc:date>
    <item>
      <title>shareUrl expression in wf-email template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/shareurl-expression-in-wf-email-template/m-p/277225#M230355</link>
      <description>Hi All,I have run into a problem recently wherein the workflow emails sent to users have a malformed url at the bottom. At the bottom of the email (beneath "Click this link to edit the task:") the link is "https://our.server.address:8080/share/page/task-edit?taskId=activiti$26578" The problem is the</description>
      <pubDate>Tue, 30 Oct 2012 01:50:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/shareurl-expression-in-wf-email-template/m-p/277225#M230355</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-10-30T01:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: shareUrl expression in wf-email template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/shareurl-expression-in-wf-email-template/m-p/277226#M230356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I modified the file /opt/alfresco-4.2.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/sysAdmin/default/sysadmin-parameter.properties and has no effect. Where these properties are modified?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/shareurl-expression-in-wf-email-template/m-p/277226#M230356</guid>
      <dc:creator>david_serres</dc:creator>
      <dc:date>2013-11-20T12:17:00Z</dc:date>
    </item>
  </channel>
</rss>

