<?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: Convert Salesforce record ID to a number? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-Salesforce-record-ID-to-a-number/m-p/2294199#M67100</link>
    <description>&lt;P&gt;@Johnny Sey​&amp;nbsp;, you can try to use the below expression in tMap to take last 10 characters of string and convert it into integer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Integer.parseInt(row1.col.substring(row1.col.length()-10))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009p6SfAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136785i75F24CEB85FA9338/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009p6SfAAI.png" alt="0693p000009p6SfAAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 04:05:31 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-09-23T04:05:31Z</dc:date>
    <item>
      <title>Convert Salesforce record ID to a number?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-Salesforce-record-ID-to-a-number/m-p/2294198#M67099</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For case feed (these essentially are the chatter comments on a case record), I need to export the record ID as a number ID into another system.  However, Salesforce ID are letters and numbers that are also case sensitive.  Is there a java script transformation code I can use to only convert the last 10 characters from the Salesforce ID into a numberic code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS.  I cannot create autonumber field in Salesforce on Case Feed as we are not allow to create custom fields on case comment.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-Salesforce-record-ID-to-a-number/m-p/2294198#M67099</guid>
      <dc:creator>JSey</dc:creator>
      <dc:date>2024-11-16T01:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Salesforce record ID to a number?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-Salesforce-record-ID-to-a-number/m-p/2294199#M67100</link>
      <description>&lt;P&gt;@Johnny Sey​&amp;nbsp;, you can try to use the below expression in tMap to take last 10 characters of string and convert it into integer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Integer.parseInt(row1.col.substring(row1.col.length()-10))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009p6SfAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136785i75F24CEB85FA9338/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009p6SfAAI.png" alt="0693p000009p6SfAAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 04:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-Salesforce-record-ID-to-a-number/m-p/2294199#M67100</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-09-23T04:05:31Z</dc:date>
    </item>
  </channel>
</rss>

