<?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 Reading xml with encrypted data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203325#M4690</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have requirement to read a xml where data is encrypted. I also have a program to decrypt the data i have attached the screenshot.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can i integrate this program in talend job. Output of this command should be captured as value to column.&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="Capture.PNG" style="width: 645px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuV7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137353iCFD6A2ADF29658E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuV7.png" alt="0683p000009LuV7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I will appreciate anyone one help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;PK&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2017 14:50:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-19T14:50:13Z</dc:date>
    <item>
      <title>Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203325#M4690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have requirement to read a xml where data is encrypted. I also have a program to decrypt the data i have attached the screenshot.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can i integrate this program in talend job. Output of this command should be captured as value to column.&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="Capture.PNG" style="width: 645px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuV7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137353iCFD6A2ADF29658E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuV7.png" alt="0683p000009LuV7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I will appreciate anyone one help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;PK&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 14:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203325#M4690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T14:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203326#M4691</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you need to run this program from the command line you need to use the tSystem component.&lt;/P&gt; 
&lt;P&gt;Follow &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCnO3CAK" target="_self"&gt;this link&lt;/A&gt; to know how to get the result.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 17:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203326#M4691</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-19T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203327#M4692</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can i pass input column to tSystem command, when i trying to pass as&amp;nbsp;&lt;SPAN&gt;row2.accountNumber i am getting error which i have attached.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error.PNG" style="width: 656px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luvr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156109i823BBDDD6F777F92/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luvr.png" alt="0683p000009Luvr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;new String[]{"cmd","/c","C:\\Users\\212600982\\Desktop\\XML_TEST\\Decription_Xml\\rsa-example-jre_7\\rsa-example-1.0-SNAPSHOT\\bin\\rsa-example.bat C:\\rsa\\private row2.accountNumber"}&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 19:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203327#M4692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203328#M4693</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you want to fill the "Command" field dynamicaly you nedd to use the syntax:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"cmd /c" C:\\Users\\212600982\\Desktop\\XML_TEST\\Decription_Xml\\rsa-example-jre_7\\rsa-example-1.0-SNAPSHOT\\bin\\rsa-example.bat C:\\rsa\\private" + row2.accountNumber&lt;/PRE&gt; 
&lt;P&gt;As you can see &lt;SPAN&gt;row2.accountNumber&amp;nbsp;&lt;/SPAN&gt;must be outside from the "" to get the value of the field, not the string &lt;SPAN&gt;row2.accountNumber&lt;/SPAN&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 20:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203328#M4693</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-19T20:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203329#M4694</link>
      <description>&lt;P&gt;Thanks for your reply. I tried to pass and test but but no luck, i am getting null for any column i want to pass dynamically, please find screenshot.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tsystem coomand : &amp;nbsp;"cmd /c echo " + row2.accountNumber&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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="Capture1.PNG" style="width: 555px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LubM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130886i275BFF298CA0F756/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LubM.png" alt="0683p000009LubM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 04:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203329#M4694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-20T04:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203330#M4695</link>
      <description>&lt;P&gt;Sorry, the mistake was mine.&lt;/P&gt; 
&lt;P&gt;You must change from flow to iterate before to go in the tSystem component.&lt;/P&gt; 
&lt;P&gt;The job should look like this (here I change tFileInputDelimited by tFixedFlowInput just for the example):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LukL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148277iC55E09CF0F69D260/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LukL.png" alt="0683p000009LukL.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;tFixedFlowInput generate 2 lines with the values "One" and "Two" I'll use later on as parameters for the tSystem.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The tFlowToIterate generates 1 global variable per input field and each variable will have&amp;nbsp;the values from the input flow.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In my example, the schema in the&amp;nbsp;tFixedFlowInput just contains 1 field called "Parameter".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So, the&amp;nbsp; global variable will be called "row49.Parameter" because I used the default configuration for&amp;nbsp;tFlowToIterate but you can choose the variable name if you uncheck the "Use the default (key, value) in global variables" option.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Now the tSystem component can get the parameter from the global variable:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuwQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131211iEDE5C90CDA23A304/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuwQ.png" alt="0683p000009LuwQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is what the command field must look&amp;nbsp;like:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;"cmd /c C:/parameter.bat " + ((String)globalMap.get("row49.Parameter"))&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;And here is the result:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luwa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147252i3845320FBC66D532/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luwa.png" alt="0683p000009Luwa.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;You got it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 08:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203330#M4695</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-20T08:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xml with encrypted data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203331#M4696</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. IT worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 07:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-xml-with-encrypted-data/m-p/2203331#M4696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-22T07:38:16Z</dc:date>
    </item>
  </channel>
</rss>

