<?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 [resolved] Upsert to Salesforce with External ID references Not Working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upsert-to-Salesforce-with-External-ID-references-Not/m-p/2202641#M4266</link>
    <description>I have the following objects with the respective fields in Salesforce:&lt;BR /&gt;Prospect__c&lt;BR /&gt;&amp;nbsp; Data_Migration_ID__c (External ID)&lt;BR /&gt;Marketing_Source__c&lt;BR /&gt;&amp;nbsp; Data_Migration_ID__c (External ID)&lt;BR /&gt;Lead_Source__c&lt;BR /&gt;&amp;nbsp; Data_Migration_ID__c (External ID)&lt;BR /&gt;&amp;nbsp; Prospect__c (reference to Prospect__c)&lt;BR /&gt;&amp;nbsp; Source__c (reference to Marketing_Source__c)&lt;BR /&gt;In my source data (CSV) for the Lead Source, I have the external IDs for the Prospect and the Marketing Source in Lead_Source__c.Prospect__c and Lead_Source__c.Source__c, respectively. I've followed the instructions at &lt;A href="http://blog.wdcigroup.net/2013/10/talend-tsalesforceoutputbulkexec-component/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://blog.wdcigroup.net/2013/10/talend-tsalesforceoutputbulkexec-component/&lt;/A&gt;, along with whatever tips I have been able to find in the forums in order to load my Lead Source data. I can get it to work with the Data Loader, so I know that the data is valid. But whenever I run the job, I get&amp;nbsp; the following output:&lt;BR /&gt;Exception in component tSalesforceOutputBulkExec_1_tSBE&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:108)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:472)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sforce.async.BulkConnection.getBatchResultStream(BulkConnection.java:369)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.talend.salesforceBulk.SalesforceBulkAPI.getBatchLog(SalesforceBulkAPI.java:428)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at test.lead_source__c_0_1.Lead_Source__c.tFileInputDelimited_1Process(Lead_Source__c.java:2132)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at test.lead_source__c_0_1.Lead_Source__c.runJobInTOS(Lead_Source__c.java:2839)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at test.lead_source__c_0_1.Lead_Source__c.main(Lead_Source__c.java:2688)&lt;BR /&gt;I'm using Talend 5.5.1.r118616-20140617-1110</description>
    <pubDate>Sat, 16 Nov 2024 11:21:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:21:15Z</dc:date>
    <item>
      <title>[resolved] Upsert to Salesforce with External ID references Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upsert-to-Salesforce-with-External-ID-references-Not/m-p/2202641#M4266</link>
      <description>I have the following objects with the respective fields in Salesforce:&lt;BR /&gt;Prospect__c&lt;BR /&gt;&amp;nbsp; Data_Migration_ID__c (External ID)&lt;BR /&gt;Marketing_Source__c&lt;BR /&gt;&amp;nbsp; Data_Migration_ID__c (External ID)&lt;BR /&gt;Lead_Source__c&lt;BR /&gt;&amp;nbsp; Data_Migration_ID__c (External ID)&lt;BR /&gt;&amp;nbsp; Prospect__c (reference to Prospect__c)&lt;BR /&gt;&amp;nbsp; Source__c (reference to Marketing_Source__c)&lt;BR /&gt;In my source data (CSV) for the Lead Source, I have the external IDs for the Prospect and the Marketing Source in Lead_Source__c.Prospect__c and Lead_Source__c.Source__c, respectively. I've followed the instructions at &lt;A href="http://blog.wdcigroup.net/2013/10/talend-tsalesforceoutputbulkexec-component/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://blog.wdcigroup.net/2013/10/talend-tsalesforceoutputbulkexec-component/&lt;/A&gt;, along with whatever tips I have been able to find in the forums in order to load my Lead Source data. I can get it to work with the Data Loader, so I know that the data is valid. But whenever I run the job, I get&amp;nbsp; the following output:&lt;BR /&gt;Exception in component tSalesforceOutputBulkExec_1_tSBE&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:108)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:472)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sforce.async.BulkConnection.getBatchResultStream(BulkConnection.java:369)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.talend.salesforceBulk.SalesforceBulkAPI.getBatchLog(SalesforceBulkAPI.java:428)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at test.lead_source__c_0_1.Lead_Source__c.tFileInputDelimited_1Process(Lead_Source__c.java:2132)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at test.lead_source__c_0_1.Lead_Source__c.runJobInTOS(Lead_Source__c.java:2839)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at test.lead_source__c_0_1.Lead_Source__c.main(Lead_Source__c.java:2688)&lt;BR /&gt;I'm using Talend 5.5.1.r118616-20140617-1110</description>
      <pubDate>Sat, 16 Nov 2024 11:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upsert-to-Salesforce-with-External-ID-references-Not/m-p/2202641#M4266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upsert to Salesforce with External ID references Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upsert-to-Salesforce-with-External-ID-references-Not/m-p/2202642#M4267</link>
      <description>I found the answer. &lt;BR /&gt;The instructions at  are correct, but I was referencing the wrong field.When the instructions say to go to the Advanced settings tab on the tSalesforceOutputBulkExec component, it says that "the ‘Lookup field name’ is the lookup field between the Contact and Account objects in the Salesforce. Hence, it will be the Account field in Contact object." I was using "Prospect__c" and "Source__c" as my lookup field names. I &lt;I&gt;should&lt;/I&gt; have been using "Prospect__r" and "Source__r," as these appear to be the actual lookup fields--at least for these custom objects. &lt;BR /&gt;We used to have Pervasive, which allowed us to use the syntax "(Object:ExternalID:Value)"  as the value in an insert statement. I've never had to deal with reference fields, but I found some notes on them in some of the Salesforce developer blogs and forums and thought it would be worth a shot.</description>
      <pubDate>Wed, 14 Jan 2015 18:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upsert-to-Salesforce-with-External-ID-references-Not/m-p/2202642#M4267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-14T18:15:21Z</dc:date>
    </item>
  </channel>
</rss>

