<?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 tFileInputExcel - Sheet name is null in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341312#M109278</link>
    <description>&lt;P&gt;I have a job that is reading in a 150MB xlsx file with multiple sheets.&amp;nbsp; I am trying to set up a field that captures the current sheet name&amp;nbsp;so I can add it to the row.&amp;nbsp; Due to the size of the sheets (Sheet1 is almost at the maximum number of rows, over 1 million), I have to read the sheet in low memory, event mode, with the "All sheets" option checked.&amp;nbsp; As part of my test, I just have the tFileInputExcel flowing into a tJavaRow, and the tJavaRow is just spitting out&amp;nbsp;((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")) to the console.&amp;nbsp; I plan on having it just assign this value to a new output column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;With this set up, all rows are retrieving a NULL for&amp;nbsp;((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")).&amp;nbsp; I didn't see anywhere in the documentation that this behavior is expected, so I was wondering if this is a bug or an unavoidable consequence of low memory mode or large sheets.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In addition, does anyone know of an alternative method?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Job Structure" style="width: 242px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltai.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146243i6EFC7DD00CC1993D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltai.png" alt="0683p000009Ltai.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job Structure&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Basic" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltas.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144807iA04AE7D1FF1E46D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltas.png" alt="0683p000009Ltas.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Basic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced" style="width: 543px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtMo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138617i2238BF3FB155BEDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtMo.png" alt="0683p000009LtMo.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Advanced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaRow" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtSG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151927iC24711C2ABB05253/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtSG.png" alt="0683p000009LtSG.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tJavaRow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output" style="width: 121px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltax.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134654i5328F0A66F23BB4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltax.png" alt="0683p000009Ltax.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 17:12:56 GMT</pubDate>
    <dc:creator>NicholasN</dc:creator>
    <dc:date>2018-03-29T17:12:56Z</dc:date>
    <item>
      <title>tFileInputExcel - Sheet name is null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341312#M109278</link>
      <description>&lt;P&gt;I have a job that is reading in a 150MB xlsx file with multiple sheets.&amp;nbsp; I am trying to set up a field that captures the current sheet name&amp;nbsp;so I can add it to the row.&amp;nbsp; Due to the size of the sheets (Sheet1 is almost at the maximum number of rows, over 1 million), I have to read the sheet in low memory, event mode, with the "All sheets" option checked.&amp;nbsp; As part of my test, I just have the tFileInputExcel flowing into a tJavaRow, and the tJavaRow is just spitting out&amp;nbsp;((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")) to the console.&amp;nbsp; I plan on having it just assign this value to a new output column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;With this set up, all rows are retrieving a NULL for&amp;nbsp;((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")).&amp;nbsp; I didn't see anywhere in the documentation that this behavior is expected, so I was wondering if this is a bug or an unavoidable consequence of low memory mode or large sheets.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In addition, does anyone know of an alternative method?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Job Structure" style="width: 242px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltai.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146243i6EFC7DD00CC1993D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltai.png" alt="0683p000009Ltai.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job Structure&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Basic" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltas.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144807iA04AE7D1FF1E46D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltas.png" alt="0683p000009Ltas.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Basic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced" style="width: 543px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtMo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138617i2238BF3FB155BEDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtMo.png" alt="0683p000009LtMo.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Advanced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJavaRow" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtSG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151927iC24711C2ABB05253/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtSG.png" alt="0683p000009LtSG.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tJavaRow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output" style="width: 121px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltax.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134654i5328F0A66F23BB4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltax.png" alt="0683p000009Ltax.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 17:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341312#M109278</guid>
      <dc:creator>NicholasN</dc:creator>
      <dc:date>2018-03-29T17:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputExcel - Sheet name is null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341313#M109279</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Are you looking for sheet name for each record?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i tMap create output port and assign global variable to output.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExcelSheetName.PNG" style="width: 326px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsyR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148365i7B8CCC13F2FA0C23/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsyR.png" alt="0683p000009LsyR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Created excel with two sheets. Maindata and Maindata2.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExcelSheetName1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtI5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137664iF288679DB1930D32/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtI5.png" alt="0683p000009LtI5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExcelSheetName2.PNG" style="width: 545px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtIA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134597i2480EA7A8410D1DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtIA.png" alt="0683p000009LtIA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 22:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341313#M109279</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-03-29T22:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputExcel - Sheet name is null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341314#M109280</link>
      <description>&lt;P&gt;That's exactly what I'm looking for.&amp;nbsp; That is also unfortunately what doesn't work.&amp;nbsp; In the example you posted, vboppudi, did you turn on low memory mode?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've tried a couple other experiments, and it appears that with low memory mode for an xlsx file, &lt;FONT size="2"&gt;((String)globalMap.get(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"tFileInputExcel_1_CURRENT_SHEET"&lt;/FONT&gt;&lt;FONT size="2"&gt;)) just doesn't work.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 14:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341314#M109280</guid>
      <dc:creator>NicholasN</dc:creator>
      <dc:date>2018-03-30T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputExcel - Sheet name is null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341315#M109281</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am not using enterprise edition. Memory option disabled for me.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Memory.PNG" style="width: 564px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtKf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153747i3AFE98A6F72D27D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtKf.png" alt="0683p000009LtKf.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 15:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-Sheet-name-is-null/m-p/2341315#M109281</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-03-30T15:43:26Z</dc:date>
    </item>
  </channel>
</rss>

