<?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: Getting row-Vars in tJava in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348539#M115656</link>
    <description>Can you change the tJava to be a tJavaFlex with the same code? Select the "Data Auto Propagate" checkbox to ensure that all data is propogated without requiring code.</description>
    <pubDate>Wed, 28 Sep 2016 12:06:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-28T12:06:21Z</dc:date>
    <item>
      <title>Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348536#M115653</link>
      <description>&lt;P&gt;Hi together,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in the tMap-Componente there are several row-Vars, but when i show them in tjava with&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;System.out.println( "row2 from tMap: " + row2.toString());&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;all vars are "null" &amp;nbsp;- in a following logrow the vars will be shown.&lt;BR /&gt;&lt;BR /&gt;Any idea whats wrong?`&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 10:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348536#M115653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T10:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348537#M115654</link>
      <description>Can you show us your job layout? Also, are you using tJava or tJavaRow or tJavaFlex components for this?</description>
      <pubDate>Wed, 28 Sep 2016 11:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348537#M115654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T11:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348538#M115655</link>
      <description>Yes, please show the image below.
&lt;BR /&gt;It's strange, that the last component tLogRow print&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;&amp;nbsp;Column1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 20160927 &amp;nbsp;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;but in tJava
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;System.out.println( "Test:" + OUT2.Column1);&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;the output is
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;Test: null&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;Here is the job layout:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFkz.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132984i027FEDB2A0F55B1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFkz.jpg" alt="0683p000009MFkz.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 28 Sep 2016 12:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348538#M115655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T12:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348539#M115656</link>
      <description>Can you change the tJava to be a tJavaFlex with the same code? Select the "Data Auto Propagate" checkbox to ensure that all data is propogated without requiring code.</description>
      <pubDate>Wed, 28 Sep 2016 12:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348539#M115656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T12:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348540#M115657</link>
      <description>Put the code in the "main code" section</description>
      <pubDate>Wed, 28 Sep 2016 12:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348540#M115657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348541#M115658</link>
      <description>I have done that - but the same effect, output &amp;nbsp;from&amp;nbsp;&lt;BR /&gt;System.out.println( "Test " + OUT3.BildFullPath &amp;nbsp;);&lt;BR /&gt;is&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;Test null&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;But in the logrow, the value of the var is printed:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;BildFullPath     | full/401448/910/&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Sep 2016 12:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348541#M115658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348542#M115659</link>
      <description>Can you click on the "OUT3" link and show me the columns that are set up for it and also show me the code in the tJavaFlex?</description>
      <pubDate>Wed, 28 Sep 2016 12:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348542#M115659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348543#M115660</link>
      <description>Thanks for your engagement ;-)
&lt;BR /&gt;The code in tJavaFlex is:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;System.out.println( "Test " + OUT4.Column1);&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;And here a screen from the Row:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFnE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150751i13D05A666D96A33E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFnE.jpg" alt="0683p000009MFnE.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 28 Sep 2016 13:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348543#M115660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T13:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348544#M115661</link>
      <description>You aren't using a tJavaFlex. You are using a tJava. Can you use the tJavaFlex and ensure that the&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;"Data Auto Propagate" checkbox is ticked.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 28 Sep 2016 13:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348544#M115661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348545#M115662</link>
      <description>Sorry, that was an old screen You are right: Now, with the code in the main area, it works. The aim is, to get the values from the row to a following tftpGet-Component. So I think in the javaflex-Component, i can define a global variable, and then use it e.g. as a download-Path in ftpget</description>
      <pubDate>Wed, 28 Sep 2016 13:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348545#M115662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting row-Vars in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348546#M115663</link>
      <description>Use a tFlowToIterate component connected to the tMap. Then connect the FTP component to the tFlowToIterate using the Iterate connector. The tFlowToIterate component will create globalMap variables with the format {rowname}.{columnname} which can be used. So if your row connecting the tMap to the tFlowToIterate is called "row2" and your column name is called "column1", a globalMap variable with a key of "row2.column1" will be created. You can access this in the ftp component with ((String)globalMap.get("row2.column1")) ......assuming it is a String value.</description>
      <pubDate>Wed, 28 Sep 2016 14:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-row-Vars-in-tJava/m-p/2348546#M115663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T14:50:30Z</dc:date>
    </item>
  </channel>
</rss>

