<?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 tSampleRow not resolving context variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331791#M100735</link>
    <description>&lt;P&gt;Environment Info:&lt;/P&gt;
&lt;P&gt;Talend Real-time Big Data Platform (6.4.1.20170623_1246)&lt;/P&gt;
&lt;P&gt;Windows 10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tSample row component not resolving value of context variable.&lt;/P&gt;
&lt;P&gt;Attached is the simple usage of tSampleRow.&lt;/P&gt;
&lt;P&gt;tJavaRow_3 component:&lt;/P&gt;
&lt;PRE&gt;String range = "1,33";
context.range = range;&lt;/PRE&gt;
&lt;P&gt;Expression in tSampleRow:&lt;/P&gt;
&lt;PRE&gt;context.range&lt;/PRE&gt;
&lt;P&gt;Any clues?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 20:17:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-30T20:17:54Z</dc:date>
    <item>
      <title>tSampleRow not resolving context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331791#M100735</link>
      <description>&lt;P&gt;Environment Info:&lt;/P&gt;
&lt;P&gt;Talend Real-time Big Data Platform (6.4.1.20170623_1246)&lt;/P&gt;
&lt;P&gt;Windows 10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tSample row component not resolving value of context variable.&lt;/P&gt;
&lt;P&gt;Attached is the simple usage of tSampleRow.&lt;/P&gt;
&lt;P&gt;tJavaRow_3 component:&lt;/P&gt;
&lt;PRE&gt;String range = "1,33";
context.range = range;&lt;/PRE&gt;
&lt;P&gt;Expression in tSampleRow:&lt;/P&gt;
&lt;PRE&gt;context.range&lt;/PRE&gt;
&lt;P&gt;Any clues?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331791#M100735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T20:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: tSampleRow not resolving context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331792#M100736</link>
      <description>&lt;P&gt;Assign value to contect variable via directly or load via file &amp;amp; then use, it will work.&amp;nbsp; Value set in tjavarow is not globally set thus tsamplerow unable to understand.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please refer attached screenshot, tSampleRow properly able to read context. Also find attached sample &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsaW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132706i52DB7ADE10B68834/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsaW.jpg" alt="0683p000009LsaW.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsIN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139776iEDAB4946E3BAB3F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsIN.jpg" alt="0683p000009LsIN.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lspr.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157528i4D68A8291CAFFA9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lspr.jpg" alt="0683p000009Lspr.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;job.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ls2Q"&gt;tSampleRow_context.zip&lt;/A&gt;</description>
      <pubDate>Wed, 31 Jan 2018 05:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331792#M100736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T05:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: tSampleRow not resolving context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331793#M100737</link>
      <description>&lt;P&gt;Didn't know about that tJava part.&lt;/P&gt; 
&lt;P&gt;Also I tried to set value in global map but I wasn't able to resolve it because of typecasting issues.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I managed to do that with other logic.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for clearing the confusion.&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000005OlmUAAS"&gt;@sjain&lt;/A&gt; wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Assign value to contect variable via directly or load via file &amp;amp; then use, it will work.&amp;nbsp; Value set in tjavarow is not globally set thus tsamplerow unable to understand.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Please refer attached screenshot, tSampleRow properly able to read context. Also find attached sample &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsaW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132706i52DB7ADE10B68834/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsaW.jpg" alt="0683p000009LsaW.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsIN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139776iEDAB4946E3BAB3F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsIN.jpg" alt="0683p000009LsIN.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lspr.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157528i4D68A8291CAFFA9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lspr.jpg" alt="0683p000009Lspr.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;job.&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000005OlmUAAS"&gt;@sjain&lt;/A&gt; wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Assign value to contect variable via directly or load via file &amp;amp; then use, it will work.&amp;nbsp; Value set in tjavarow is not globally set thus tsamplerow unable to understand.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Please refer attached screenshot, tSampleRow properly able to read context. Also find attached sample &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsaW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132706i52DB7ADE10B68834/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsaW.jpg" alt="0683p000009LsaW.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsIN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139776iEDAB4946E3BAB3F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsIN.jpg" alt="0683p000009LsIN.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSample_row_context3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lspr.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157528i4D68A8291CAFFA9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lspr.jpg" alt="0683p000009Lspr.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;job.&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 20:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSampleRow-not-resolving-context-variable/m-p/2331793#M100737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T20:32:43Z</dc:date>
    </item>
  </channel>
</rss>

