<?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: Support sending html emails with FreeMarker templates in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107624#M75392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reasonably formatted mails are possible imo wit the current engine. For Better formatted mails there are so many options, jsf, velocity, freemarker etc… Everybody has it's own preferences and maybe existing functionality, being able to also call things from outside the engine etc… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Compare this with all the discussions about the form in the forums. Functionality is never sufficient (that is why I never used the Activiti forms, not a complaint, just a fact)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think Activiti should focus on being a great extendable, embeddable BPMN engine and have basic (but good enough) functionality for e.g. sending mail (as is currently supported, in basic html).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And why should you need to write it over and over again for each customer? If you have written one, you can re-use it can't you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe an 'extensions' repository wpuld be nice where people can publish their services (what about an xslt service?) so everybody could reuse it but it would not be part of the core…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 20:34:05 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2012-03-20T20:34:05Z</dc:date>
    <item>
      <title>Support sending html emails with FreeMarker templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107621#M75389</link>
      <description>I imagine this would involve: Designer: adding an activiti:field name="htmlTemplate" in addition to the one named "html", probably a "textTemplate" in addition to "text". Designer: validating that either the existing field or the template one is populatedEngine: modify the mail service task implemen</description>
      <pubDate>Mon, 19 Mar 2012 10:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107621#M75389</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2012-03-19T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Support sending html emails with FreeMarker templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107622#M75390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can fairly easily make your own components for this… See extending the designer in the docs. That is what we did. If the basic mail service is extended, you have to also configure somewhere what templating is to be used etc… would make it more difficult then needed I think for the core engine…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 23:48:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107622#M75390</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-03-19T23:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Support sending html emails with FreeMarker templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107623#M75391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply Ronald, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've probably started from the wrong end, my real concern is that the core engine be able to send reasonably richly formatted mails and that there be a separation of concerns so that different people can author the process and the form / mail, which I hear from many customers. My comments about Designer were just for completeness assuming that the engine requirement would be uncontroversial. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying that you do not see a need for nicely formatted html emails? Or that the existing facility can provide this already? Maybe I have missed something… Obviously I could write my own email service task as well as some other work arounds but I felt this would be a useful feature to have in the engine. Apart from anything else it avoids me having to write it again for every customer! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there perhaps a concern that the engine would get bogged down in supporting many template languages? If so could we not figure out a similar approach to that used for forms on user tasks (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#externalFormRendering" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#externalFormRendering&lt;/A&gt;&lt;SPAN&gt;)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 09:14:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107623#M75391</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2012-03-20T09:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Support sending html emails with FreeMarker templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107624#M75392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reasonably formatted mails are possible imo wit the current engine. For Better formatted mails there are so many options, jsf, velocity, freemarker etc… Everybody has it's own preferences and maybe existing functionality, being able to also call things from outside the engine etc… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Compare this with all the discussions about the form in the forums. Functionality is never sufficient (that is why I never used the Activiti forms, not a complaint, just a fact)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think Activiti should focus on being a great extendable, embeddable BPMN engine and have basic (but good enough) functionality for e.g. sending mail (as is currently supported, in basic html).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And why should you need to write it over and over again for each customer? If you have written one, you can re-use it can't you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe an 'extensions' repository wpuld be nice where people can publish their services (what about an xslt service?) so everybody could reuse it but it would not be part of the core…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 20:34:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107624#M75392</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-03-20T20:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Support sending html emails with FreeMarker templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107625#M75393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ronald, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again thanks, I get what you are saying about 'good enough' versus the effort of tackling a huge plethora of different templating technologies. And of course there will cases that I think I have a great generic solution but it turns out no one else wants it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the beauty of open source is that we get to road test that rather than have it centrally determined so perhaps you are right it is time for an extensions project. Where would you suggest, github? Perhaps the successful things get folded back into the core in the future. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, XSLT service +1 from me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 22:33:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/support-sending-html-emails-with-freemarker-templates/m-p/107625#M75393</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2012-03-20T22:33:04Z</dc:date>
    </item>
  </channel>
</rss>

