<?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: Create Json File From Excel in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378158#M139969</link>
    <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp; &lt;/P&gt;&lt;P&gt;Completed before task thanks to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now have an issue sending this .json file for a POST API. &lt;/P&gt;&lt;P&gt;Attached the curl below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -XPOST -u 'xxxx:xxxxx' 'xxxxxxxxxxxxxxxxxxxxxxxx/etl_staging/_bulk' --data-binary @etl-staging-job1.json -H 'Content-Type: application/json'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I complete this with trestClient uploading the file or do I need to pass as a string to trestclients component 'string' column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 09:33:49 GMT</pubDate>
    <dc:creator>heshkaru</dc:creator>
    <dc:date>2022-02-18T09:33:49Z</dc:date>
    <item>
      <title>Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378149#M139960</link>
      <description>&lt;P&gt;{ "index" : { } }&lt;/P&gt;&lt;P&gt;{ "ENV":"DEV", "BATCH_ID": "2023-12-16 08:27:16", "EXPECTED_VALUE":"ADDQYU5B", "ACTUAL_VALUE":"dbdf24" }&lt;/P&gt;&lt;P&gt;{ "index" : { } }&lt;/P&gt;&lt;P&gt;{ "ENV":"DEV", "BATCH_ID": "2023-12-16 08:27:16", "EXPECTED_VALUE":"25325", "ACTUAL_VALUE":"vbdb3" }&lt;/P&gt;&lt;P&gt;{ "index" : { } }&lt;/P&gt;&lt;P&gt;{ "ENV":"DEV", "BATCH_ID": "2023-12-16 08:27:16", "EXPECTED_VALUE":"bdbd42", "ACTUAL_VALUE":"gdg42" }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a json file which have the following json objects extracted from an excel. This output is used for ElasticSearch Indexing. This specific format should be maintained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378149#M139960</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2024-11-15T23:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378150#M139961</link>
      <description>&lt;P&gt;Hi, you can use tFileInput Excel to extract the excel file then tWriteJSONfield component to create a specific JSON from the extract.&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/7.3/processing/twritejsonfield-standard-properties&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 07:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378150#M139961</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-14T07:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378151#M139962</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3TUAA1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144285iF6135C33DA5224CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3TUAA1.png" alt="0695b00000OB3TUAA1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final output file should be a json file and it should be in the format above.&lt;/P&gt;&lt;P&gt;Each line should be a json object( and should have -&amp;gt; { "index" : { } } in following way). This is the format that elasticsearch accepts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 10:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378151#M139962</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2022-02-14T10:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378152#M139963</link>
      <description>&lt;P&gt;why don't you use tElasticSearchOutput component ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 11:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378152#M139963</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-14T11:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378153#M139964</link>
      <description>&lt;P&gt;Any examples?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 11:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378153#M139964</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2022-02-14T11:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378154#M139965</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I think you need to iterate each row from an excel, write a json string using tWriteJsonField and append it to the json file, the job looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileInputExcel--tFlowToIterate--iterate--tFixedFlowInput1--main--tFileOutputDelimited-oncomponnetOK--tFixedFlowInput2---main-tWriteJsonField--tFileOutputDelimited2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFixedFlowInput1: generate the string { "index" : { } } and write it to the Json file.&lt;/P&gt;&lt;P&gt;tFixedFlowInput2: generate the current data.&lt;/P&gt;&lt;P&gt;tFileOutputDelimited2: append the Json string to the Json file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 01:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378154#M139965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-15T01:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378155#M139966</link>
      <description>&lt;P&gt;Hi Shong for tFixedFlowInput2 can i get values from tFileInputExcel. When I tried all i can see is only can pass static values defined in tFixedFlowInput2. Is there a specific way to get excel values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 10:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378155#M139966</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2022-02-15T10:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378156#M139967</link>
      <description>&lt;P&gt;Hi, you have to use the variables generated by the tFlowToIterate component in the tFixedFlowInput_2&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 10:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378156#M139967</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-15T10:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378157#M139968</link>
      <description>&lt;P&gt;Thank you finally completed it&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 08:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378157#M139968</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2022-02-17T08:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378158#M139969</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp; &lt;/P&gt;&lt;P&gt;Completed before task thanks to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now have an issue sending this .json file for a POST API. &lt;/P&gt;&lt;P&gt;Attached the curl below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -XPOST -u 'xxxx:xxxxx' 'xxxxxxxxxxxxxxxxxxxxxxxx/etl_staging/_bulk' --data-binary @etl-staging-job1.json -H 'Content-Type: application/json'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I complete this with trestClient uploading the file or do I need to pass as a string to trestclients component 'string' column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 09:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378158#M139969</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2022-02-18T09:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378159#M139970</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Does this command run fine in Linux terminal? If yes, you use tSystem in Talend job to run this command.&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>Fri, 18 Feb 2022 12:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378159#M139970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-18T12:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378160#M139971</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does tSystem refers to command prompt in windows, for me it doesn't work from command prompt (Im using a windows machine), but I have installed another shell script where I can run linux commands, it works there. Does this component have an impact base on the OS its working&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 16:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378160#M139971</guid>
      <dc:creator>heshkaru</dc:creator>
      <dc:date>2022-02-18T16:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Json File From Excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378161#M139972</link>
      <description>&lt;P&gt;I thought you are using Linux OS,  as CURL is a built-in command on Linux. If you are using Windows OS, you should learn how to get CURL working on Windows.  tSystem run a system command as you run it in a command prompt on your OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 02:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Json-File-From-Excel/m-p/2378161#M139972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-19T02:50:58Z</dc:date>
    </item>
  </channel>
</rss>

