<?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: Extract data from specific cell from excel and store in DB table column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373058#M135822</link>
    <description>&lt;P&gt;what is the error message? Have you defined the context variables in Context view?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 12:48:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-04T12:48:46Z</dc:date>
    <item>
      <title>Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373053#M135817</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel with the format as mentioned in the screenshot. I have requirement to store "Event ID" and "No.of registrants" data in MYSQL DB table. But the problem is, these value are in a specific cell in the excel (A5). I need to create a new column in my output schema and store these values against all other column values present in the excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to Talend, not really sure how to do it. Could you please help me to design this job in Talend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and appreciate all your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input Excel format:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009HgKeAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143696i6502B81B6DD241D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009HgKeAAK.png" alt="0693p000009HgKeAAK.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Output Schema:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009HgLIAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147732i2B6836D2B49EAB23/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009HgLIAA0.png" alt="0693p000009HgLIAA0.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373053#M135817</guid>
      <dc:creator>Vijay_Kumar</dc:creator>
      <dc:date>2024-11-16T01:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373054#M135818</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use a tFileInputExcel to read the specific cell, define only one column on schema, set the Header field as 4, the limit field as 1, see&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009HgOCAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149252i8AF8346FDC2D91DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009HgOCAA0.png" alt="0693p000009HgOCAA0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Read this specific cell value as a string, and link tFileInputExcel to a tJavaRow, extract the event ID and no. Of Registrants using Java code, store these values to context variables for used later.  &lt;/P&gt;&lt;P&gt;In next subjob, use another tFileInputExcel to extract value from column First Name, Last Name, Company, etc, link tFileInputExcel to a tMap, add new columns, and set their values using context variables which was assigned  value in previous subjob. &lt;/P&gt;&lt;P&gt;The job design loos like:&lt;/P&gt;&lt;P&gt;tFileInputExcel1--main--tJavaRow&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tFileInputExcel2--main--tMap--&amp;gt;tMysqlOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try and let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 07:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373054#M135818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-04T07:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373055#M135819</link>
      <description>&lt;P&gt;Thank you and appreciate your reply Shong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please send me the code that I need to enter into tJavaRow to extract specific text ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can send me the screenshot of the each job component would be very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you So much again !&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 07:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373055#M135819</guid>
      <dc:creator>Vijay_Kumar</dc:creator>
      <dc:date>2020-08-04T07:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373056#M135820</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Here is an example Java code on tJavaRow:&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;context.event_id = input_row.value.substring(input_row.value.indexOf(":")+1,input_row.value.indexOf("No. of Registration"));&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;context.Registration = input_row.value.substring(input_row.value.lastIndexOf(":")+1);&lt;/P&gt;&lt;P&gt;context.event_id=context.event_id.trim();&lt;/P&gt;&lt;P&gt;context.Registration=context.Registration.trim();&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;//System.out.println(context.event_id);&lt;/P&gt;&lt;P&gt;//System.out.println(context.Registration);&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I did't create a complete job, just guide you the way that you can follow and make some testing, I believe the process should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 10:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373056#M135820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-04T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373057#M135821</link>
      <description>&lt;P&gt;Thank you again Shong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may sound dumb as I am new to Talend. But happy to learn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your code but I keep getting the error message. Could you please check and let me know what am I doing wrong here ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need more detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 10:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373057#M135821</guid>
      <dc:creator>Vijay_Kumar</dc:creator>
      <dc:date>2020-08-04T10:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373058#M135822</link>
      <description>&lt;P&gt;what is the error message? Have you defined the context variables in Context view?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 12:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373058#M135822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-04T12:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373059#M135823</link>
      <description>&lt;P&gt;Dear Shong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached screenshots of the job component and error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 07:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373059#M135823</guid>
      <dc:creator>Vijay_Kumar</dc:creator>
      <dc:date>2020-08-05T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from specific cell from excel and store in DB table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373060#M135824</link>
      <description>&lt;P&gt;Please ignore my reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully created the job based on your suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much and appreciate your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 13:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-specific-cell-from-excel-and-store-in-DB-table/m-p/2373060#M135824</guid>
      <dc:creator>Vijay_Kumar</dc:creator>
      <dc:date>2020-08-05T13:57:12Z</dc:date>
    </item>
  </channel>
</rss>

