<?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: in tFileInputExcel how to select the first sheet in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233817#M23378</link>
    <description>Hello Paulo,&lt;BR /&gt;depending on your java knowledge you can have a look into the generated source. The workbook is accessed with jxl.Workbook. Take a look into the API &lt;A href="http://docjar.com/docs/api/jxl/Workbook.html" rel="nofollow noopener noreferrer"&gt;http://docjar.com/docs/api/jxl/Workbook.html&lt;/A&gt; you will find a method getSheetNames(). &lt;BR /&gt;I'm not sure, but it may be possible access the data in a tJavaFlex and extract the sheet-names.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
    <pubDate>Tue, 26 Feb 2008 14:48:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-02-26T14:48:05Z</dc:date>
    <item>
      <title>in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233813#M23374</link>
      <description>Hi&lt;BR /&gt;When using tFileInputExcel  I have to gave the name of the sheet I want to use. &lt;BR /&gt;Is there a way to tell the component I want to use the first sheet of the excel file (actualy my excel file have only one sheet)&lt;BR /&gt;Regards</description>
      <pubDate>Sat, 16 Nov 2024 14:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233813#M23374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233814#M23375</link>
      <description>Hi
&lt;BR /&gt;There is a sheetName text in the setting panel.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 26 Feb 2008 01:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233814#M23375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T01:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233815#M23376</link>
      <description>Hello Paulo,&lt;BR /&gt;I think there is no actual solution for your need. Isn't it possible to ensure that the sheet has every time the same name?&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 26 Feb 2008 11:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233815#M23376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T11:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233816#M23377</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I think there is no actual solution for your need. Isn't it possible to ensure that the sheet has every time the same name?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;The best thing I could have is to have the sheet name to be PREFIXYYYYMMDD, with PREFIX a constant and YYYYMMDD a constant but could be another day (in the past) than Today. 
&lt;BR /&gt;Maybe I could try with YYYYMMDD with today's date then if error yesterday, then if error the day before.... 
&lt;BR /&gt;But not sure it's easy to do 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 26 Feb 2008 14:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233816#M23377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T14:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233817#M23378</link>
      <description>Hello Paulo,&lt;BR /&gt;depending on your java knowledge you can have a look into the generated source. The workbook is accessed with jxl.Workbook. Take a look into the API &lt;A href="http://docjar.com/docs/api/jxl/Workbook.html" rel="nofollow noopener noreferrer"&gt;http://docjar.com/docs/api/jxl/Workbook.html&lt;/A&gt; you will find a method getSheetNames(). &lt;BR /&gt;I'm not sure, but it may be possible access the data in a tJavaFlex and extract the sheet-names.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 26 Feb 2008 14:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233817#M23378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233818#M23379</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;There is a sheetName text in the setting panel.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Shong, the request is to use the first sheet of the Excel workbook (not the one named "shhet1") should I post a feature request ?</description>
      <pubDate>Tue, 26 Feb 2008 15:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233818#M23379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T15:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233819#M23380</link>
      <description>Try this:&lt;BR /&gt;1) define a context variable: context.firstSheetName&lt;BR /&gt;2) Use a tJava_1 component&lt;BR /&gt;3) The code inside the tJava_1 should be:&lt;BR /&gt;&lt;BR /&gt;jxl.Workbook workbook = jxl.Workbook.getWorkbook(new java.io.File("C:/Documents and Settings/petrutz/My Documents/TOD-in.xls"));&lt;BR /&gt;java.lang.String firstSheetName = new java.lang.String(workbook.getSheetNames());&lt;BR /&gt;context.firstSheetName=firstSheetName;&lt;BR /&gt;workbook.close();&lt;BR /&gt;4) Use a tFileInputExcel&lt;BR /&gt;in the SheetName field you should use: context.firstSheetName&lt;BR /&gt;5) Use a tLogRow&lt;BR /&gt;activate the logging here&lt;BR /&gt;6) connect tJava to tFileInputExel with a onSubjobOK to the tFileInputExcel&lt;BR /&gt;7) connect the tFileInputExcel to the tLogRow with the main.&lt;BR /&gt;Hope it will help.</description>
      <pubDate>Tue, 26 Feb 2008 18:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233819#M23380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T18:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: in tFileInputExcel how to select the first sheet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233820#M23381</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Try this:&lt;BR /&gt;....&lt;BR /&gt;Hope it will help.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Yes thank's it's perfect</description>
      <pubDate>Wed, 27 Feb 2008 00:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/in-tFileInputExcel-how-to-select-the-first-sheet/m-p/2233820#M23381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-27T00:32:42Z</dc:date>
    </item>
  </channel>
</rss>

