<?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 Custom component: get current row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346862#M114212</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am development a custom component for Talend Open Studio. The custom component can have more then one incoming flow. I reveive the incoming Connections with&amp;nbsp;node.getIncomingConnections(EConnectionType.FLOW_MAIN); Thats works.&lt;/P&gt; 
&lt;P&gt;But If a create a job, I got an error:&lt;/P&gt; 
&lt;P&gt;row1/row2 not exist. I see in my example (two rowGenerators connect to my custom component) there are two methods:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tRowGenerator_1Process/tRowGenerator_2Process. The two method contains my code from the custom component. Thats ok, but because I produce code for all over incoming rows, he also produce code for row2 in&amp;nbsp;tRowGenerator_1Process method and row1 in&amp;nbsp;tRowGenerator_2Process. In method&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tRowGenerator_1Process he not found row2 and in&amp;nbsp;&amp;nbsp;tRowGenerator_2Process he not found row1.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Can I see what is the current component or method &amp;nbsp;with his rows? Then can I&amp;nbsp;filter this rows and produce only code for the right method.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I only use the _main.javajet&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Greets&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Benjamin&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:29:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:29:31Z</dc:date>
    <item>
      <title>Custom component: get current row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346862#M114212</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am development a custom component for Talend Open Studio. The custom component can have more then one incoming flow. I reveive the incoming Connections with&amp;nbsp;node.getIncomingConnections(EConnectionType.FLOW_MAIN); Thats works.&lt;/P&gt; 
&lt;P&gt;But If a create a job, I got an error:&lt;/P&gt; 
&lt;P&gt;row1/row2 not exist. I see in my example (two rowGenerators connect to my custom component) there are two methods:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tRowGenerator_1Process/tRowGenerator_2Process. The two method contains my code from the custom component. Thats ok, but because I produce code for all over incoming rows, he also produce code for row2 in&amp;nbsp;tRowGenerator_1Process method and row1 in&amp;nbsp;tRowGenerator_2Process. In method&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tRowGenerator_1Process he not found row2 and in&amp;nbsp;&amp;nbsp;tRowGenerator_2Process he not found row1.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Can I see what is the current component or method &amp;nbsp;with his rows? Then can I&amp;nbsp;filter this rows and produce only code for the right method.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I only use the _main.javajet&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Greets&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Benjamin&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346862#M114212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component: get current row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346863#M114213</link>
      <description>ok I have found the solution by my self: over codeGenArgument.getIncomingName() you can get the current row.</description>
      <pubDate>Mon, 24 Jul 2017 14:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346863#M114213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T14:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component: get current row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346864#M114214</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Great that you have found the solution by yourself. Please mark your topic as resolved.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-get-current-row/m-p/2346864#M114214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T07:47:00Z</dc:date>
    </item>
  </channel>
</rss>

