<?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: rules &amp; html e-mail codes in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128406#M34829</link>
    <description>&lt;P&gt;How can I do this?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 17:04:01 GMT</pubDate>
    <dc:creator>aa3w</dc:creator>
    <dc:date>2021-03-11T17:04:01Z</dc:date>
    <item>
      <title>rules &amp; html e-mail codes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128404#M34827</link>
      <description>&lt;P&gt;Hi together,&lt;/P&gt;&lt;P&gt;Alfresco has e-mail templates like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;html&amp;gt;
   &amp;lt;head&amp;gt;
      &amp;lt;style type="text/css"&amp;gt;&amp;lt;!--
      body
      {
         font-family: Arial, sans-serif;
         font-size: 14px;
         color: #4c4c4c;
      }
      
      a, a:visited
      {
         color: #0072cf;
      }
      --&amp;gt;&amp;lt;/style&amp;gt;
   &amp;lt;/head&amp;gt;
   
   &amp;lt;body bgcolor="#dddddd"&amp;gt;
      &amp;lt;table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"&amp;gt;
         &amp;lt;tr&amp;gt;
            &amp;lt;td width="100%" align="center"&amp;gt;
               &amp;lt;table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"&amp;gt;
                  &amp;lt;tr&amp;gt;
                     &amp;lt;td width="100%"&amp;gt;
                        &amp;lt;table width="100%" cellpadding="0" cellspacing="0" border="0"&amp;gt;
                           &amp;lt;tr&amp;gt;
                              &amp;lt;td style="padding: 10px 30px 0px;"&amp;gt;
                                 &amp;lt;table width="100%" cellpadding="0" cellspacing="0" border="0"&amp;gt;
                                    &amp;lt;tr&amp;gt;
                                       &amp;lt;td&amp;gt;
                                          &amp;lt;table cellpadding="0" cellspacing="0" border="0"&amp;gt;
                                             &amp;lt;tr&amp;gt;
                                                &amp;lt;td&amp;gt;
                                                   &amp;lt;img src="${shareUrl}/res/components/images/page-64.png" alt="" width="64" height="64" border="0" style="padding-right: 20px;" /&amp;gt;
                                                &amp;lt;/td&amp;gt;
                                                &amp;lt;td&amp;gt;
                                                   &amp;lt;div style="font-size: 22px; padding-bottom: 4px;"&amp;gt;
                                                      ${person.properties.firstName} &amp;lt;#if person.properties.lastName?exists&amp;gt; ${person.properties.lastName}&amp;lt;/#if&amp;gt; hat ein neues Inhaltselement, ${document.name}, zur Site ${document.siteShortName!""} hinzugefügt
                                                   &amp;lt;/div&amp;gt;
                                                   &amp;lt;div style="font-size: 13px;"&amp;gt;
                                                      ${date?datetime?string.full}
                                                   &amp;lt;/div&amp;gt;
                                                &amp;lt;/td&amp;gt;
                                             &amp;lt;/tr&amp;gt;
                                          &amp;lt;/table&amp;gt;
                                          &amp;lt;div style="font-size: 14px; margin: 12px 0px 24px 0px; padding-top: 10px; border-top: 1px solid #aaaaaa;"&amp;gt;
                                             &amp;lt;p&amp;gt;Hallo,&amp;lt;/p&amp;gt;

                                             &amp;lt;p&amp;gt;${person.properties.firstName}
                                             &amp;lt;#if person.properties.lastName?exists&amp;gt; ${person.properties.lastName}&amp;lt;/#if&amp;gt;
                                             hat ein neues Inhaltselement, ${document.name}, zur Site ${document.siteShortName!""} hinzugefügt.
                                             
                                             &amp;lt;p&amp;gt;Klicken Sie auf diesen Link, um das Element anzuzeigen:&amp;lt;br /&amp;gt;
                                             &amp;lt;br /&amp;gt;${document.shareUrl}&amp;lt;/p&amp;gt;
                                             
                                             &amp;lt;p&amp;gt;Mit freundlichen Grüßen&amp;lt;br /&amp;gt;
                                             Alfresco&amp;lt;/p&amp;gt;
                                          &amp;lt;/div&amp;gt;
                                       &amp;lt;/td&amp;gt;
                                    &amp;lt;/tr&amp;gt;
                                 &amp;lt;/table&amp;gt;
                              &amp;lt;/td&amp;gt;
                           &amp;lt;/tr&amp;gt;
                           &amp;lt;tr&amp;gt;
                              &amp;lt;td&amp;gt;
                                 &amp;lt;div style="border-bottom: 1px solid #aaaaaa;"&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;
                              &amp;lt;/td&amp;gt;
                           &amp;lt;/tr&amp;gt;
                           &amp;lt;tr&amp;gt;
                              &amp;lt;td style="padding: 10px 30px;"&amp;gt;
                                 &amp;lt;img src="${shareUrl}/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /&amp;gt;
                              &amp;lt;/td&amp;gt;
                           &amp;lt;/tr&amp;gt;
                        &amp;lt;/table&amp;gt;
                     &amp;lt;/td&amp;gt;
                  &amp;lt;/tr&amp;gt;
               &amp;lt;/table&amp;gt;
            &amp;lt;/td&amp;gt;
         &amp;lt;/tr&amp;gt;
      &amp;lt;/table&amp;gt;
   &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;When I edit or cut an paste the same code, then I get an e-mail with the variable.&lt;/P&gt;&lt;PRE&gt;${person.properties.firstName} &amp;lt;#if person.properties.lastName?exists&amp;gt; ${person.properties.lastName} hat ein neues Inhaltselement, ${document.name}, zur Site ${document.siteShortName!""} hinzugefügt 
${date?datetime?string.full} &lt;/PRE&gt;&lt;P&gt;How can I use own codes?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 11:41:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128404#M34827</guid>
      <dc:creator>aa3w</dc:creator>
      <dc:date>2021-03-10T11:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: rules &amp; html e-mail codes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128405#M34828</link>
      <description>&lt;P&gt;These email templartes are bind to particular activities so from there(java), variable are passed(person,date).&lt;/P&gt;&lt;P&gt;If you want to use same thing for your email so you need to bind variable.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 10:39:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128405#M34828</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2021-03-11T10:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: rules &amp; html e-mail codes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128406#M34829</link>
      <description>&lt;P&gt;How can I do this?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 17:04:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rules-html-e-mail-codes/m-p/128406#M34829</guid>
      <dc:creator>aa3w</dc:creator>
      <dc:date>2021-03-11T17:04:01Z</dc:date>
    </item>
  </channel>
</rss>

