<?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 How to use html file for tSend? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2433828#M140402</link>
    <description>&lt;P&gt;Hi Tableau friends,&lt;/P&gt;
&lt;P&gt;I have a html file in a folder stored.&lt;/P&gt;
&lt;P&gt;Now I want to use this file for tSend.&lt;/P&gt;
&lt;P&gt;I tried to use tFileInputRaw, saving the data into a context variable and wanted to call this context variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawe84_0-1711119554785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162566i1C9D71225A8AD68C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pawe84_0-1711119554785.png" alt="pawe84_0-1711119554785.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawe84_2-1711119795825.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162570iADC7563399BBC348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pawe84_2-1711119795825.png" alt="pawe84_2-1711119795825.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawe84_1-1711119674632.png" style="width: 462px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162567iEE3B12467F949509/image-dimensions/462x103?v=v2" width="462" height="103" role="button" title="pawe84_1-1711119674632.png" alt="pawe84_1-1711119674632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But it's not working. Is there something missing? The email is still empty when it's sending to aan email address.&lt;/P&gt;
&lt;P&gt;Thanks for any hints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 15:05:49 GMT</pubDate>
    <dc:creator>pawe84</dc:creator>
    <dc:date>2024-03-22T15:05:49Z</dc:date>
    <item>
      <title>How to use html file for tSend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2433828#M140402</link>
      <description>&lt;P&gt;Hi Tableau friends,&lt;/P&gt;
&lt;P&gt;I have a html file in a folder stored.&lt;/P&gt;
&lt;P&gt;Now I want to use this file for tSend.&lt;/P&gt;
&lt;P&gt;I tried to use tFileInputRaw, saving the data into a context variable and wanted to call this context variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawe84_0-1711119554785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162566i1C9D71225A8AD68C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pawe84_0-1711119554785.png" alt="pawe84_0-1711119554785.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawe84_2-1711119795825.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162570iADC7563399BBC348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pawe84_2-1711119795825.png" alt="pawe84_2-1711119795825.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawe84_1-1711119674632.png" style="width: 462px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162567iEE3B12467F949509/image-dimensions/462x103?v=v2" width="462" height="103" role="button" title="pawe84_1-1711119674632.png" alt="pawe84_1-1711119674632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But it's not working. Is there something missing? The email is still empty when it's sending to aan email address.&lt;/P&gt;
&lt;P&gt;Thanks for any hints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 15:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2433828#M140402</guid>
      <dc:creator>pawe84</dc:creator>
      <dc:date>2024-03-22T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use html file for tSend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2433835#M140403</link>
      <description>&lt;P&gt;I solved this issue now.&lt;/P&gt;
&lt;P&gt;Inside tjava:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;globalMap.put("htmlContent", row1.content);&lt;/LI-CODE&gt;
&lt;P&gt;and in tSend&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;(String)globalMap.get("htmlContent")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 15:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2433835#M140403</guid>
      <dc:creator>pawe84</dc:creator>
      <dc:date>2024-03-22T15:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use html file for tSend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2434041#M140406</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to see you resolve the issue by using global variable. You can also use context variable, you have the wrong code on tJavaRow, it should be:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;context.email=input_row.content.toString();&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 01:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-html-file-for-tSend/m-p/2434041#M140406</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-03-25T01:06:54Z</dc:date>
    </item>
  </channel>
</rss>

