<?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: Clear Table in mail body every iterate in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217837#M13271</link>
    <description>Add a tJava component after tSendMail connnected by OnComponentOk and use the following code:&lt;BR /&gt;globalMap.put("mailMessage", "");&lt;BR /&gt;You may also use a tSetGlobalVar instead.</description>
    <pubDate>Tue, 21 Apr 2020 14:52:14 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2020-04-21T14:52:14Z</dc:date>
    <item>
      <title>Clear Table in mail body every iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217836#M13270</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My objective is to insert a data-table in email body and send to every recipient&lt;/P&gt; 
&lt;P&gt;but the problem is the data-table merged in every iterate.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How I can clear the data in TJAVAROW in every iterate to avoid merging of rows&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;here is the diagram of job:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 334px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA4a.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157763iCFC66B45AE035170/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA4a.png" alt="0683p000009MA4a.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tJavaRow code&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tjavarow.PNG" style="width: 541px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9xy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149477i8E67B126822634A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9xy.png" alt="0683p000009M9xy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;tsendmail&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsendmail.PNG" style="width: 456px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA6f.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152357i59DE21B5385336A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA6f.png" alt="0683p000009MA6f.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Current output and Expected Output in email body&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output.PNG" style="width: 752px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9sM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145473i0916D5A3C63038F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9sM.png" alt="0683p000009M9sM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217836#M13270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Table in mail body every iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217837#M13271</link>
      <description>Add a tJava component after tSendMail connnected by OnComponentOk and use the following code:&lt;BR /&gt;globalMap.put("mailMessage", "");&lt;BR /&gt;You may also use a tSetGlobalVar instead.</description>
      <pubDate>Tue, 21 Apr 2020 14:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217837#M13271</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-04-21T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Table in mail body every iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217838#M13272</link>
      <description>&lt;P&gt;Sir&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;it works on the data,&lt;/P&gt; 
&lt;P&gt;but the html formatting disappear on 2nd iterate.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;output:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1st email&lt;/P&gt; 
&lt;TABLE width="242"&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD width="99"&gt;EMPLOYEE_NO&lt;/TD&gt; 
   &lt;TD width="143"&gt;EMPLOYEE_NAME&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;12345&lt;/TD&gt; 
   &lt;TD&gt;DELA CRUZ, JUAN&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2nd email&lt;/P&gt; 
&lt;P&gt;93832BONIFACIO, ANDRESS&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 23:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217838#M13272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-21T23:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Table in mail body every iterate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217839#M13273</link>
      <description>&lt;P&gt;Got IT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by moving the&lt;/P&gt;
&lt;P&gt;"&amp;lt;TABLE border=1 cellspacing=1px&amp;gt;" + "&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;EMPLOYEE_NO&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;EMPLOYEE_NAME&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;"&lt;/P&gt;
&lt;P&gt;in the body of email&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot Bro!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 02:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Clear-Table-in-mail-body-every-iterate/m-p/2217839#M13273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-22T02:15:41Z</dc:date>
    </item>
  </channel>
</rss>

