<?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 Using salesforce Apex in Talend (merge API calls from within TOS) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-salesforce-Apex-in-Talend-merge-API-calls-from-within-TOS/m-p/2247128#M32411</link>
    <description>Hi guys!
&lt;BR /&gt;I have used the SFDC connections thus far with a lot of success. Namely...
&lt;BR /&gt;tSalesforceInput -&amp;gt; tMap -&amp;gt; tSalesforceOutput
&lt;BR /&gt;This was useful and enough for most migrations thus far, but now I need to do something more complex. Something similar to...
&lt;BR /&gt;tSalesforceInput -&amp;gt; tMap -&amp;gt; tJava -&amp;gt; tSalesforceOutput
&lt;BR /&gt;I need to get all the records via tSalesForceInput, then in a tJava component iterate and manipulate these records.
&lt;BR /&gt;This manipulation requires APEX calls "&amp;gt;
&lt;A href="http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm&lt;/A&gt;] apex documentation. Considering how tSalesforceInput and tSalesforceOutput works, apex must be bundled in with the implementation in Talend. The only question is how do I acess the API in the tJava component? And what type of object is the result set from the tSalesForceInput component. 
&lt;BR /&gt;
&lt;BR /&gt;Cheers!!</description>
    <pubDate>Sat, 16 Nov 2024 11:45:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:45:08Z</dc:date>
    <item>
      <title>Using salesforce Apex in Talend (merge API calls from within TOS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-salesforce-Apex-in-Talend-merge-API-calls-from-within-TOS/m-p/2247128#M32411</link>
      <description>Hi guys!
&lt;BR /&gt;I have used the SFDC connections thus far with a lot of success. Namely...
&lt;BR /&gt;tSalesforceInput -&amp;gt; tMap -&amp;gt; tSalesforceOutput
&lt;BR /&gt;This was useful and enough for most migrations thus far, but now I need to do something more complex. Something similar to...
&lt;BR /&gt;tSalesforceInput -&amp;gt; tMap -&amp;gt; tJava -&amp;gt; tSalesforceOutput
&lt;BR /&gt;I need to get all the records via tSalesForceInput, then in a tJava component iterate and manipulate these records.
&lt;BR /&gt;This manipulation requires APEX calls "&amp;gt;
&lt;A href="http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm&lt;/A&gt;] apex documentation. Considering how tSalesforceInput and tSalesforceOutput works, apex must be bundled in with the implementation in Talend. The only question is how do I acess the API in the tJava component? And what type of object is the result set from the tSalesForceInput component. 
&lt;BR /&gt;
&lt;BR /&gt;Cheers!!</description>
      <pubDate>Sat, 16 Nov 2024 11:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-salesforce-Apex-in-Talend-merge-API-calls-from-within-TOS/m-p/2247128#M32411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using salesforce Apex in Talend (merge API calls from within TOS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-salesforce-Apex-in-Talend-merge-API-calls-from-within-TOS/m-p/2247129#M32412</link>
      <description>Hi H3llion, 
&lt;BR /&gt; For tSalesforceInput there are two implements (Query and Bulk Query).They are different implement to get the data,so the type of object in the result set is different. 
&lt;BR /&gt; For Query implement: The type of object in the result set is like this : java.util.List&amp;lt;org.talend.salesforce.TopRecord&amp;gt; allTopRecords = tSalesforceInput.getAllTopRecords(); 
&lt;BR /&gt;and for bulk Query:The type of object in the result set is like this : java.util.List&amp;lt;java.util.Map&amp;lt;String, String&amp;gt;&amp;gt; resultListMessage_tSalesforceInput = sforceBulk_tSalesforceInput.getQueryResult(queryResultId_tSalesforceInput); 
&lt;BR /&gt;You can get more detail information in the talend studio code generate part. 
&lt;BR /&gt; 
&lt;BR /&gt;Geek</description>
      <pubDate>Mon, 17 Feb 2014 06:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-salesforce-Apex-in-Talend-merge-API-calls-from-within-TOS/m-p/2247129#M32412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-17T06:40:19Z</dc:date>
    </item>
  </channel>
</rss>

