<?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: Checking if excel sheet exist in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270173#M48165</link>
    <description>Thanks a lot for this problem report! I will create a test for it and solve this as soon as possible.</description>
    <pubDate>Fri, 21 Feb 2014 17:09:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-21T17:09:12Z</dc:date>
    <item>
      <title>Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270163#M48155</link>
      <description>Hello,
&lt;BR /&gt;I need to import several excel tables into one database. I defined the excel-filenames and sheet names in two text-files on which I iterate (tFileInputDelimited =&amp;gt; tFlowToIterate =&amp;gt; tFileInputDelimited =&amp;gt; tFlowToIterate =&amp;gt; tFileInputExcel)
&lt;BR /&gt;The excel file generally have the same sheets but it's possible that one or the other sheet is missing in some excel-files. The result is the fatal error "Special sheets not exist". 
&lt;BR /&gt;My question: Can I make Talend ignore this error or make a check before trying to read the excel sheet?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 27 Nov 2013 09:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270163#M48155</guid>
      <dc:creator>apletschette</dc:creator>
      <dc:date>2013-11-27T09:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270164#M48156</link>
      <description>hi,&lt;BR /&gt;use the component dedicated to this task : tFileExist&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 27 Nov 2013 11:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270164#M48156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T11:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270165#M48157</link>
      <description>answering to fast ...
&lt;BR /&gt;not sure that you could check if a spoecific sheet exist without create some code .
&lt;BR /&gt;May be ask for that feature at Talend jira 
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 27 Nov 2013 11:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270165#M48157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T11:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270166#M48158</link>
      <description>Just found that thread. I have the same problem. How to sort out files that does not include a particular excel spread sheet? I tried to use tFilesExcelWorkbookOpen =&amp;gt; tFileExcelSheetInput components. But here also an error occurs and the job aborted.</description>
      <pubDate>Thu, 20 Feb 2014 12:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270166#M48158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270167#M48159</link>
      <description>Go download and install 
&lt;B&gt;tFileExcelWorkbookOpen&lt;/B&gt; and 
&lt;B&gt;tFileExcelSheetList&lt;/B&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.talendforge.org/exchange/index.php" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/index.php&lt;/A&gt; 
&lt;BR /&gt; 
&lt;B&gt;tFileExcelWorkbookOpen&lt;/B&gt;: 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCpRyCAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/performances-Talend-vs-BO-data-integrator-XI-2/td-p/167683&lt;/A&gt; 
&lt;BR /&gt; 
&lt;B&gt;tFileExcelSheetList&lt;/B&gt;: 
&lt;BR /&gt; 
&lt;A href="http://www.talendforge.org/exchange/tos/download.php?rid=910" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/tos/download.php?rid=910&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;My job looks like: 
&lt;BR /&gt; 
&lt;B&gt;tFileExcelWorkbookOpen&lt;/B&gt; &amp;gt; 
&lt;B&gt;tFileExcelSheetList&lt;/B&gt; &amp;gt; 
&lt;B&gt;tLogRow&lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;-----------+-----------+----------+-------------- 
&lt;BR /&gt;|COUNT_SHEETS|SHEET_INDEX|SHEET_NAME|SHEET_ROW_COUNT| 
&lt;BR /&gt;-----------+-----------+----------+-------------- 
&lt;BR /&gt;|3 |0 |Sheet1 |60 | 
&lt;BR /&gt;|3 |1 |Sheet2 |581 | 
&lt;BR /&gt;|3 |2 |Sheet3 |316 | 
&lt;BR /&gt;'------------+-----------+----------+---------------'</description>
      <pubDate>Thu, 20 Feb 2014 17:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270167#M48159</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2014-02-20T17:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270168#M48160</link>
      <description>Sorry, but I don't understand your post...&lt;BR /&gt;The question is how to make sure that the job continues even when an excel file does not contain a particular spread sheet. As mentioned in my first post here, I already installed the components you mentioned but the same error occurs. In addition I could not find any helpful option.</description>
      <pubDate>Fri, 21 Feb 2014 08:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270168#M48160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T08:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270169#M48161</link>
      <description>You could iterate through the sheets and test if the one you want is present. Whats wrong with that approach?</description>
      <pubDate>Fri, 21 Feb 2014 08:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270169#M48161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T08:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270170#M48162</link>
      <description>Sorry, I didn't see that talendtester wrote FileExcelSheetList... My fault.&lt;BR /&gt;But I could design a job to get rid of those annoying error messages:&lt;BR /&gt;FileExcelWorkbookOpen =&amp;gt; FileExcelSheetList =&amp;gt; Filter (Filter for a particular sheet) =&amp;gt; FlowToIterate =&amp;gt; FileInputExcel (sheet = ((String)globalMap.get("tFileExcelSheetList_1_SHEET_NAME"))) =&amp;gt; LogRow.&lt;BR /&gt;Works fine. I used FileInputExcel instead of FileExcelSheetInput because I identified some unexpected date issues.</description>
      <pubDate>Fri, 21 Feb 2014 11:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270170#M48162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T11:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270171#M48163</link>
      <description>Could you please describe what issues with date typed columns you had. I am very interested getting info about bugs.</description>
      <pubDate>Fri, 21 Feb 2014 12:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270171#M48163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270172#M48164</link>
      <description>No problem. My Input is a "year" column, e.g. "2011, 2012, 2013 etc.". When I use the FileInputExcel component I could setup the field as String or as Date (schema "yyyy"). In both cases the result in logrow is correct.
&lt;BR /&gt;When I use the FileExcelSheetInput both variants do not work. In case of a string, my result is "2,013". In case of the date schema, I got this error:
&lt;BR /&gt;
&lt;PRE&gt;Exception in component tFileExcelSheetInput_1&lt;BR /&gt;java.lang.Exception: Read column newColumn1 in row number=1 failed:SubmissionYear is an unsupported date format!&lt;BR /&gt;Supported formats are:&lt;BR /&gt;d.M.y&lt;BR /&gt;dd.MM.yyyy&lt;BR /&gt;yyyy-MM-dd&lt;BR /&gt;M/d/yy&lt;BR /&gt;MM/dd/yyyy&lt;BR /&gt;d.M.y HH:mm:ss&lt;BR /&gt;dd.MM.yyyy HH:mm:ss&lt;BR /&gt;yyyy-MM-ddTHH:mm:ss&lt;BR /&gt;d.M.y HH:mm:ss.SSS&lt;BR /&gt;dd.MM.yyyy HH:mm:ss.SSSSSS&lt;/PRE&gt;
&lt;BR /&gt;Hope it helps. And thanks for your help!</description>
      <pubDate>Fri, 21 Feb 2014 12:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270172#M48164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T12:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270173#M48165</link>
      <description>Thanks a lot for this problem report! I will create a test for it and solve this as soon as possible.</description>
      <pubDate>Fri, 21 Feb 2014 17:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270173#M48165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270174#M48166</link>
      <description>From the &lt;B&gt;tFileExcelSheetList&lt;/B&gt; are you casting the string from the SHEET_NAME  to a date?&lt;BR /&gt;My job looks like:&lt;BR /&gt;&lt;B&gt;tFileExcelWorkbookOpen&lt;/B&gt; &amp;gt; &lt;B&gt;tFileExcelSheetList&lt;/B&gt; &amp;gt; &lt;B&gt;tMap&lt;/B&gt; &amp;gt; tTeradataOutput &amp;gt;  &lt;B&gt;tLogRow&lt;/B&gt;&lt;BR /&gt;In the tMap:&lt;BR /&gt;&lt;B&gt;TalendDate.parseDate("yyyy", row1.SHEET_NAME ); &lt;/B&gt;&lt;BR /&gt;Output:&lt;BR /&gt;--------------&lt;BR /&gt;|  tLogRow_1   |&lt;BR /&gt;------------&lt;BR /&gt;|SubmissionYear|&lt;BR /&gt;------------&lt;BR /&gt;|01-01-2013    |&lt;BR /&gt;|01-01-2008    |&lt;BR /&gt;|01-01-1999    |&lt;BR /&gt;|01-01-2010    |&lt;BR /&gt;--------------</description>
      <pubDate>Fri, 21 Feb 2014 18:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270174#M48166</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2014-02-21T18:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270175#M48167</link>
      <description>@talendtester: No he tries to read a sheet with a user defined format and my component fails in this situation: explanation here: 
&lt;BR /&gt;@_OZ_: 
&lt;BR /&gt;I have found the problem with the date as year. I guess you have formatted the cell in Excel with yyyy. This is a user defined format and excel set as cell type internal as text. The real value in excel is still the date (e.g. 01/01/2014). 
&lt;BR /&gt;The component tries to parse the content with the pattern yyyy (from the Talend schema pattern) and fails. 
&lt;BR /&gt;Now starts my "disaster recovery": The component tries to figure out what is the real format and currently does not know yyyy and e.g. MM/yyyy. 
&lt;BR /&gt;I have added these formats and the next release will read these values.</description>
      <pubDate>Fri, 21 Feb 2014 18:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270175#M48167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T18:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270176#M48168</link>
      <description>Excel uses the current date format of the windows operating system. 
&lt;BR /&gt;When I open Excel and press "ctrl" + ";" the following is written:
&lt;BR /&gt;2/21/2014
&lt;BR /&gt;This is because my current Short date is:
&lt;BR /&gt;M/d/yyyy
&lt;BR /&gt;When I change the Short date to:
&lt;BR /&gt;yyyy-MM-dd
&lt;BR /&gt;Excel automatically displays the date as: 
&lt;BR /&gt;2014-02-21</description>
      <pubDate>Fri, 21 Feb 2014 18:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270176#M48168</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2014-02-21T18:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270177#M48169</link>
      <description>@talendtester: right, Excel automatically converts date fields to a default format. But the input or output of Excel would still be the actual value ("2012" but shown as "01-01-2012" in Excel).
&lt;BR /&gt;By the way same issue causes for strings and numbers, e.g. you output a number as string then excel could not calculate with it. So you better take care of formats in Talend to garantee in Excel works everything fine.</description>
      <pubDate>Mon, 24 Feb 2014 12:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270177#M48169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-24T12:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if excel sheet exist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270178#M48170</link>
      <description>If you want the date in Talend to be only "yyyy" you can use StringHandling.LEFT() or StringHandling.RIGHT() depending on the format of your date from Excel.</description>
      <pubDate>Mon, 24 Feb 2014 16:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Checking-if-excel-sheet-exist/m-p/2270178#M48170</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2014-02-24T16:03:42Z</dc:date>
    </item>
  </channel>
</rss>

