<?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: Get exccel Sheet Names in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339032#M107213</link>
    <description>&lt;P&gt;&amp;nbsp;hello&lt;/P&gt;&lt;P&gt;use taggregate after your tmap&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 15:33:24 GMT</pubDate>
    <dc:creator>fab_74</dc:creator>
    <dc:date>2017-09-11T15:33:24Z</dc:date>
    <item>
      <title>Get exccel Sheet Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339030#M107211</link>
      <description>&lt;P&gt;Hello, I have an excel and i whant to verify that the 2 sheets exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i do that? i tried with Tmap and&amp;nbsp;((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")) but i get multipe times the sheet names. See pic.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339030#M107211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get exccel Sheet Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339031#M107212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As far as I know there is no shortcut for this purpose.&lt;/P&gt;
&lt;P&gt;However, you can select "All sheets" on configuration tab, then connect tFileInputExcel to a tJava and set a global variable for each&amp;nbsp;sheet (but remember the Excel must be read for that) using the following Java code:&lt;/P&gt;
&lt;PRE&gt;globalMap.put((String)globalMap.get(&lt;SPAN&gt;"tFileInputExcel_1_CURRENT_SHEET"&lt;/SPAN&gt;), "");&lt;/PRE&gt;
&lt;P&gt;After tJava, if you're expecting for 2 sheets named sheet1 and sheet2, you can use an If trigger to connect the next component with this condition:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(String)globalMap.get("sheet1") != null &amp;amp;&amp;amp;&amp;nbsp;(String)globalMap.get("sheet2") != null&lt;/PRE&gt;
&lt;P&gt;As soon as sheet1 and sheet are defined in the Excel file &lt;U&gt;and are not empty&lt;/U&gt;, the condition is true and je job continue with the next component.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339031#M107212</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-09-11T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get exccel Sheet Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339032#M107213</link>
      <description>&lt;P&gt;&amp;nbsp;hello&lt;/P&gt;&lt;P&gt;use taggregate after your tmap&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-exccel-Sheet-Names/m-p/2339032#M107213</guid>
      <dc:creator>fab_74</dc:creator>
      <dc:date>2017-09-11T15:33:24Z</dc:date>
    </item>
  </channel>
</rss>

