<?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 sf:AccountId from following message String in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230146#M20872</link>
    <description>&lt;P&gt;Looks like , They took it off because I checked the website &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;if you will have only one&amp;nbsp;sf:AccountId if your Input ,&lt;/SPAN&gt;&lt;SPAN&gt;you could use tExtractRegexField and the string between&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx&amp;lt;/sf:AccountId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;try regex&amp;nbsp;"&amp;lt;\\s*sf:AccountId[^&amp;gt;]*&amp;gt;(.*?)&amp;lt;\\s*/\\s*sf:AccountId&amp;gt;.*"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Otherwise&lt;/STRONG&gt;, using tJavarow , get with regex Pattern get all&amp;nbsp;&lt;SPAN&gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx&amp;lt;/sf:AccountId&amp;gt; in a response&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;so output of this&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx&amp;lt;/sf:AccountId&amp;gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx2&amp;lt;/sf:AccountId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;then denormalize&amp;nbsp; into&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;xxxxxxxxx&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;xxxxxxxxx2&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;etc.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Also&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2019 15:04:10 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2019-03-07T15:04:10Z</dc:date>
    <item>
      <title>Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230141#M20867</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a below string message and in the output I want to extract sf:AccountId from message String:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
 &lt;DIV&gt;
  &lt;DIV&gt;
   &lt;DIV&gt;
    [{"data":"&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;lt;soapenv:Envelope xmlns:soapenv="
    &lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsd="
    &lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:xsi="
    &lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt; &amp;lt;soapenv:Body&amp;gt; &amp;lt;notifications xmlns="
    &lt;A href="http://soap.sforce.com/2005/09/outbound" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://soap.sforce.com/2005/09/outbound&lt;/A&gt;"&amp;gt; &amp;lt;OrganizationId&amp;gt;00D2F000000DGMUUA4&amp;lt;/OrganizationId&amp;gt; &amp;lt;ActionId&amp;gt;04k2F0000004CGOQA2&amp;lt;/ActionId&amp;gt; &amp;lt;SessionId xsi:nil="true"/&amp;gt; &amp;lt;EnterpriseUrl&amp;gt;
    &lt;A href="https://behavecareus--dev.my.salesforce.com/services/Soap/c/44.0/00D2F000000DGMU" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://behavecareus--dev.my.salesforce.com/services/Soap/c/44.0/00D2F000000DGMU&lt;/A&gt;&amp;lt;/EnterpriseUrl&amp;gt; &amp;lt;PartnerUrl&amp;gt;
    &lt;A href="https://behavecareus--dev.my.salesforce.com/services/Soap/u/44.0/00D2F000000DGMU" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://behavecareus--dev.my.salesforce.com/services/Soap/u/44.0/00D2F000000DGMU&lt;/A&gt;&amp;lt;/PartnerUrl&amp;gt; &amp;lt;Notification&amp;gt; &amp;lt;Id&amp;gt;04l2F000007wBMHQA2&amp;lt;/Id&amp;gt; &amp;lt;sObject xsi:type="sf:Contact" xmlns:sf="urn:
    &lt;A href="http://sobject.enterprise.soap.sforce.com/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;sobject.enterprise.soap.sforce.com&lt;/A&gt;"&amp;gt; &amp;lt;sf:Id&amp;gt;0032F00000KAlWDQA1&amp;lt;/sf:Id&amp;gt; &amp;lt;sf:AccountId&amp;gt;0012F00000M5ACgQAN&amp;lt;/sf:AccountId&amp;gt; &amp;lt;/sObject&amp;gt; &amp;lt;/Notification&amp;gt; &amp;lt;/notifications&amp;gt; &amp;lt;/soapenv:Body&amp;gt; &amp;lt;/soapenv:Envelope&amp;gt;","type":"text/xml; charset=UTF-8"}]
   &lt;/DIV&gt;
  &lt;/DIV&gt;
 &lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="yj6qo ajU"&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV class="yj6qo ajU"&gt;
 I tried to get output with the following components:
&lt;/DIV&gt;
&lt;DIV class="yj6qo ajU"&gt;
 tFileInputDelimited --&amp;gt; tLogRow --&amp;gt; tMap --&amp;gt; tLogRow
&lt;/DIV&gt;
&lt;DIV class="yj6qo ajU"&gt;
 &amp;nbsp;
&lt;/DIV&gt;
&lt;DIV class="yj6qo ajU"&gt;
 Can I get the help from anyone to get the proper output.&amp;nbsp;
&lt;/DIV&gt;
&lt;DIV class="yj6qo ajU"&gt;
 Thank you in advance!&amp;nbsp;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230141#M20867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230142#M20868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You are having an XML message inside a JSON array under an object field.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Problem is that the double quotes without escape is breaking the record while reading the data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; If you are going to follow the same method, you will need custom routines to parse the data from the input message. Could you please check with your source team whether its really required to complicate message like this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 13:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230142#M20868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T13:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230143#M20869</link>
      <description>&lt;P&gt;&amp;nbsp;Regular expression could help.Below is example with HTML response .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://etladvisors.com/2014/01/07/extracting-data-via-http-part-1/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://etladvisors.com/2014/01/07/extracting-data-via-http-part-1/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 13:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230143#M20869</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-07T13:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230144#M20870</link>
      <description>&lt;P&gt;Thank you for your reply Nikhil!&lt;/P&gt;&lt;P&gt;Can we use other components to extract the&amp;nbsp;sf:AccountId?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 14:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230144#M20870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T14:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230145#M20871</link>
      <description>&lt;P&gt;Thanks Abhishek! but the given link is not working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 14:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230145#M20871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230146#M20872</link>
      <description>&lt;P&gt;Looks like , They took it off because I checked the website &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;if you will have only one&amp;nbsp;sf:AccountId if your Input ,&lt;/SPAN&gt;&lt;SPAN&gt;you could use tExtractRegexField and the string between&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx&amp;lt;/sf:AccountId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;try regex&amp;nbsp;"&amp;lt;\\s*sf:AccountId[^&amp;gt;]*&amp;gt;(.*?)&amp;lt;\\s*/\\s*sf:AccountId&amp;gt;.*"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Otherwise&lt;/STRONG&gt;, using tJavarow , get with regex Pattern get all&amp;nbsp;&lt;SPAN&gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx&amp;lt;/sf:AccountId&amp;gt; in a response&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;so output of this&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx&amp;lt;/sf:AccountId&amp;gt;&amp;lt;sf:AccountId&amp;gt;xxxxxxxxx2&amp;lt;/sf:AccountId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;then denormalize&amp;nbsp; into&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;xxxxxxxxx&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;xxxxxxxxx2&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;etc.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Also&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230146#M20872</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-07T15:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230147#M20873</link>
      <description>&lt;P&gt;Thanks Abhishek!&lt;/P&gt;
&lt;P&gt;I am getting an error. Can you give me a tjavarow code pls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am executing the below code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pattern p = Pattern.compile("0012F00000M5ACgQAN");&lt;BR /&gt;Matcher m = p.matcher("0012F00000M5ACgQAN");&lt;BR /&gt;while(m.find()) {&lt;BR /&gt;System.out.println(m.group());&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output is:&lt;/P&gt;
&lt;P&gt;[statistics] connecting to socket on port 3495&lt;BR /&gt;[statistics] connected&lt;BR /&gt;0012F00000M5ACgQAN&lt;BR /&gt;.----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.&lt;BR /&gt;| tLogRow_3 |&lt;BR /&gt;|=--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=|&lt;BR /&gt;|Column0 |&lt;BR /&gt;|=--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=|&lt;BR /&gt;|[{"data":"&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;lt;soapenv:Envelope xmlns:soapenv="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt; &amp;lt;soapenv:Body&amp;gt; &amp;lt;notifications xmlns="&lt;A href="http://soap.sforce.com/2005/09/outbound" target="_blank" rel="nofollow noopener noreferrer"&gt;http://soap.sforce.com/2005/09/outbound&lt;/A&gt;"&amp;gt; &amp;lt;OrganizationId&amp;gt;00D2F000000DGMUUA4&amp;lt;/OrganizationId&amp;gt; &amp;lt;ActionId&amp;gt;04k2F0000004CGOQA2&amp;lt;/ActionId&amp;gt; &amp;lt;SessionId xsi:nil="true"/&amp;gt; &amp;lt;EnterpriseUrl&amp;gt;&lt;A href="https://behavecareus--dev.my.salesforce.com/services/Soap/c/44.0/00D2F000000DGMU&amp;lt;/EnterpriseUrl" target="_blank" rel="nofollow noopener noreferrer"&gt;https://behavecareus--dev.my.salesforce.com/services/Soap/c/44.0/00D2F000000DGMU&amp;lt;/EnterpriseUrl&lt;/A&gt;&amp;gt; &amp;lt;PartnerUrl&amp;gt;&lt;A href="https://behavecareus--dev.my.salesforce.com/services/Soap/u/44.0/00D2F000000DGMU&amp;lt;/PartnerUrl" target="_blank" rel="nofollow noopener noreferrer"&gt;https://behavecareus--dev.my.salesforce.com/services/Soap/u/44.0/00D2F000000DGMU&amp;lt;/PartnerUrl&lt;/A&gt;&amp;gt; &amp;lt;Notification&amp;gt; &amp;lt;Id&amp;gt;04l2F000007wBMHQA2&amp;lt;/Id&amp;gt; &amp;lt;sObject xsi:type="sf:Contact" xmlns:sf="urn:sobject.enterprise.soap.sforce.com"&amp;gt; &amp;lt;sf:Id&amp;gt;0032F00000KAlWDQA1&amp;lt;/sf:Id&amp;gt; &amp;lt;sf:AccountId&amp;gt;0012F00000M5ACgQAN&amp;lt;/sf:AccountId&amp;gt; &amp;lt;/sObject&amp;gt; &amp;lt;/Notification&amp;gt; &amp;lt;/notifications&amp;gt; &amp;lt;/soapenv:Body&amp;gt; &amp;lt;/soapenv:Envelope&amp;gt;","type":"text/xml; charset=UTF-8"}]|&lt;BR /&gt;'----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'&lt;/P&gt;
&lt;P&gt;.-------.&lt;BR /&gt;|tLogRow_4|&lt;BR /&gt;|=-----=|&lt;BR /&gt;|Column0|&lt;BR /&gt;|=-----=|&lt;BR /&gt;|null |&lt;BR /&gt;'-------'&lt;/P&gt;
&lt;P&gt;[statistics] disconnected&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 16:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230147#M20873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T16:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230148#M20874</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPFoAAO"&gt;@pgajghate&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope you are looking for below solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2hK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132098i511D21E9E2601AD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2hK.png" alt="0683p000009M2hK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below are the component screenshots. You need to read the record tFileInputFullRow so that entire data will be in a single line. The next step is tMap as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2hP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148788i6F515D5B60B89C5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2hP.png" alt="0683p000009M2hP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;var1   -&amp;gt;         row1.line.indexOf("&amp;lt;?xml version=")
var2   -&amp;gt;         row1.line.indexOf("\",\"type")

xml_out -&amp;gt;     row1.line.substring(  Var.var1 ,Var.var2 )&lt;/PRE&gt; 
&lt;P&gt;Please note that var1 and var2 should be in integer format.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Convert the xml_output to Document format.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2ff.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140485i561AB1DE17CF4ED7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2ff.png" alt="0683p000009M2ff.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Connect it to tXMLMap and right click the xml as shown below to load the structure from a file. Please note that you need to copy the XML to a file so that you can select the file to create the structure automatically.&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-center" image-alt="image.png" style="width: 616px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2hU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137009iE32A6E29CEAEF021/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2hU.png" alt="0683p000009M2hU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now you have the entire structure ready in front of you and you just have to drag and drop to output.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2hZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151294i50FB32B255FCC8F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2hZ.png" alt="0683p000009M2hZ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;And you have the output ready !!! &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;Please note that in the first tMap, if the search for XML did not get any result, job may fail. So make sure that all the records have this pattern or add the extra logic there (its a task for you &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;Hope I have answered your query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 16:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230148#M20874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T16:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230149#M20875</link>
      <description>&lt;P&gt;Many Thanks Nikhil! Great explanation.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 07:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230149#M20875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-08T07:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230150#M20876</link>
      <description>&lt;P&gt;Above approach is better for current Request.&amp;nbsp;Adding Just for Logging purpose.&lt;/P&gt; 
&lt;P&gt;How to achieve this with Regex Pattern&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendImage.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2iw.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139667i30A4FD0D1A6D3E0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2iw.jpg" alt="0683p000009M2iw.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 15:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230150#M20876</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-08T15:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sf:AccountId from following message String</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230151#M20877</link>
      <description>&lt;P&gt;Thank you Guys!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have found one more approach here:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WithoutUnicode.png" style="width: 819px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2jV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142624i0E32F138A6EB5ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2jV.png" alt="0683p000009M2jV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 05:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sf-AccountId-from-following-message-String/m-p/2230151#M20877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-11T05:35:58Z</dc:date>
    </item>
  </channel>
</rss>

