<?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: upsert into salesforce (lookup) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342561#M110416</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry maybe I didnt explain well my problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My csv has these fields: EMPLID and Id_Extenal.&lt;/P&gt;
&lt;P&gt;EMPLID is an account field (NIF), which is already in Salesforce for each account. Now what I have to do is to upsert Id_external, but in another object, in Asset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Asset is related with Account, so what I want to do is upsert id_external (asset) using EMPLID (account). In every asset record I have AccountId field (lookup). So for that I'm using EMPLID from the csv to find AccountId form Account, and use this one like Key to upsert the Id_external in asset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CSV : EMPLID|ID_EXTERNAL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MAP: EMPLID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ID_EXTERNAL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ID_EXTERNAL&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (csv file)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AcountId&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AccountId (key, already fill)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EMPLID&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(Account object)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (Asset object)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, my problem is that the upsert doesn't work because&amp;nbsp;&lt;SPAN&gt;supposedly the field AccountId doesn't exit in Asset or is not an external id, but it exist and my profile is able to edit it. &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 10:40:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-16T10:40:29Z</dc:date>
    <item>
      <title>upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342552#M110407</link>
      <description>&lt;DIV class="lia-quilt-column lia-quilt-column-18 lia-quilt-column-left lia-quilt-column-main-left"&gt; 
 &lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt; 
  &lt;DIV class="lia-message-body lia-tooltip-trigger"&gt; 
   &lt;DIV class="lia-message-body-content"&gt; 
    &lt;P&gt;Hi!!&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;I'm trying to upsert data into 'Asset' object in Salesforce.&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;I want to upsert the field ExternalId, for that I'm using the AccountId (lookup) like key column.&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;The problem is the next one:&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;failed to release the resource in tSalesforceOutput_1 :[InvalidFieldFault [ApiQueryFault [ApiFault exceptionCode='INVALID_FIELD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;exceptionMessage='Field name provided, Account does not match an External ID for Asset'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;extendedErrorDetails='{[0]}'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;row='-1'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;column='-1'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;Exception in component tSalesforceOutput_1 (Ucav_Sfdc_Ps_Id_Titulaciones_Prueba)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;java.io.IOException: [InvalidFieldFault [ApiQueryFault [ApiFault exceptionCode='INVALID_FIELD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;exceptionMessage='Field name provided, Account does not match an External ID for Asset'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;extendedErrorDetails='{[0]}'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;row='-1'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;column='-1'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;/P&gt; 
    &lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;at org.talend.components.salesforce.runtime.SalesforceWriter.doUpsert(SalesforceWriter.java:458)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at org.talend.components.salesforce.runtime.SalesforceWriter.upsert(SalesforceWriter.java:415)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at org.talend.components.salesforce.runtime.SalesforceWriter.write(SalesforceWriter.java:192)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at ucav_2.ucav_sfdc_ps_id_titulaciones_prueba_0_1.Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.tFileInputDelimited_1Process(Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.java:2354)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at ucav_2.ucav_sfdc_ps_id_titulaciones_prueba_0_1.Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.tWarn_7Process(Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.java:4705)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at ucav_2.ucav_sfdc_ps_id_titulaciones_prueba_0_1.Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.tFTPGet_1Process(Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.java:4573)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at ucav_2.ucav_sfdc_ps_id_titulaciones_prueba_0_1.Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.tSetGlobalVar_1Process(Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.java:9331)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at ucav_2.ucav_sfdc_ps_id_titulaciones_prueba_0_1.Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.runJobInTOS(Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.java:9846)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at ucav_2.ucav_sfdc_ps_id_titulaciones_prueba_0_1.Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.main(Ucav_Sfdc_Ps_Id_Titulaciones_Prueba.java:9415)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;Caused by: [InvalidFieldFault [ApiQueryFault [ApiFault exceptionCode='INVALID_FIELD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;exceptionMessage='Field name provided, Account does not match an External ID for Asset'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;extendedErrorDetails='{[0]}'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;row='-1'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;column='-1'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;]&lt;/FONT&gt;&lt;/P&gt; 
    &lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at java.lang.reflect.Constructor.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at java.lang.Class.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:673)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:556)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.ws.transport.SoapConnection.parseDetail(SoapConnection.java:236)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:210)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:156)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)&lt;/FONT&gt;&lt;/P&gt; 
    &lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;at com.sforce.soap.partner.PartnerConnection.upsert(PartnerConnection.java:1151)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at org.talend.components.salesforce.runtime.SalesforceWriter.doUpsert(SalesforceWriter.java:438)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;... 8 more&lt;/FONT&gt;&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;I've try to write the lookup component in the advances settings and I've try to change the name of the field as well ( trying with the api name, target name, child name....), but it doesn't work....&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;Anyone knows what I'm forgetting??&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;I attach screenshot.&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;Thank you in advance.&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;Kind regards,&lt;/P&gt; 
    &lt;P&gt;Jorge&amp;nbsp;&lt;/P&gt; 
    &lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="apiname.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPW3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131846i27A151A0A858512F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPW3.png" alt="0683p000009MPW3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="salesfo.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPdD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146165iD6DA3917EE27FFE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPdD.png" alt="0683p000009MPdD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schema.PNG" style="width: 767px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPdI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129771iDA409A975CB8BFD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPdI.png" alt="0683p000009MPdI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPXz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143767i37E16E1D7E49CDC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPXz.png" alt="0683p000009MPXz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mapa.PNG" style="width: 703px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPdN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143594iC91E5B9136FB8E05/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPdN.png" alt="0683p000009MPdN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
    &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt; 
&lt;DIV class="lia-quilt-column lia-quilt-column-06 lia-quilt-column-right lia-quilt-column-main-right"&gt;
  &amp;nbsp; 
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342552#M110407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342553#M110408</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Have you tried to declare a field as an External Id used by salesforce? Could you please share your&amp;nbsp;&lt;SPAN&gt;tSalesforceOutput settings with schema&lt;/SPAN&gt;?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 08:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342553#M110408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-10T08:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342554#M110409</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Thank for your asnwer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I attach the tOutSalesforce settings and the schema.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What do you mean when you say to declarate the field like a extenal Id used by salesforce? for my AccountId field?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thx&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtQs"&gt;schema.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtQx"&gt;q1e.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 11 Jul 2018 14:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342554#M110409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-11T14:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342555#M110410</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOYYAA4"&gt;@Moe&lt;/A&gt;m, Can you confirm that AccountId and Id_Externo__C fields are there in&amp;nbsp;&lt;SPAN&gt;Asset ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 07:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342555#M110410</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-07-13T07:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342556#M110411</link>
      <description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- as suggested by manodwhb , please check api name for Account field&lt;/P&gt;
&lt;P&gt;- then to use upsert mode, check this field as a key&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;tjc&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 08:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342556#M110411</guid>
      <dc:creator>tjohn</dc:creator>
      <dc:date>2018-07-13T08:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342557#M110412</link>
      <description>&lt;P&gt;yes&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;, they are,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact in the tSalesforceOutput I got in Talend these fields when I configure the tSalesforceOutput with the Asset objet&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx&lt;/P&gt;
&lt;P&gt;Jorge&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jul 2018 08:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342557#M110412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-14T08:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342558#M110413</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LM55AAG"&gt;@tjclearner&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to do that with the API name first, didn't work and I tried with lookup mode (using the label name, API name...) and didn`t work neither.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thx&lt;/P&gt; 
&lt;P&gt;Jorge&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jul 2018 08:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342558#M110413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-14T08:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342559#M110414</link>
      <description>Hi jchamorro
&lt;BR /&gt;From salesforce side, make sure this field is declared as an external id
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 14 Jul 2018 09:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342559#M110414</guid>
      <dc:creator>tjohn</dc:creator>
      <dc:date>2018-07-14T09:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342560#M110415</link>
      <description>&lt;P&gt;@&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOYYAA4" target="_self"&gt;@Moe&lt;/A&gt;&amp;nbsp;when you want to upsert records, you have only 2 choices:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;- use the record Id for the "Upsert Key Column" (that means you know it and the record will be updated)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;- use a field declared as an external Id (that means the record will be updated if it already exists and inserted if it doesn't)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Of course, the fields you try to manipulate from the job, must be visible for the user&amp;nbsp;used for the salesforce connection (check Field-Level Security in salesforce Setup).&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;That's for the basics.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Now, what are you trying to do?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;It seems you want to update existing records with a field which is probably null before that.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;So, the 1rst step is to get the Ids from existing Assets using a tSalesforceInput. This field will be the key for the upsert operation but you can also change for an update as soon you are sure the records exist.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;At the same time you need also to get a field which allow you to join these records with those from your input CSV file. If this field doesn't exists, I can't figure out how you expect to retrieve the record to be updated.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;From your design, it seems you get records from the Contact object then you move the Contact Ids to the Asset AccountId field.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;This is not possible as Contact and Account are not the same objects. What you can do is to get AccoundId field from Contact to populate Asset AccountId field but if you just want to update the ID_Externo__c field, you don't nedd the AccountId.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;At this stage I can't&amp;nbsp;give you a solution as&amp;nbsp;the objective and the way to get the right&amp;nbsp;data are not well explained, in particular what's in the input file and why the use of Contact object.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jul 2018 10:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342560#M110415</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-07-14T10:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342561#M110416</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry maybe I didnt explain well my problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My csv has these fields: EMPLID and Id_Extenal.&lt;/P&gt;
&lt;P&gt;EMPLID is an account field (NIF), which is already in Salesforce for each account. Now what I have to do is to upsert Id_external, but in another object, in Asset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Asset is related with Account, so what I want to do is upsert id_external (asset) using EMPLID (account). In every asset record I have AccountId field (lookup). So for that I'm using EMPLID from the csv to find AccountId form Account, and use this one like Key to upsert the Id_external in asset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CSV : EMPLID|ID_EXTERNAL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MAP: EMPLID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ID_EXTERNAL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ID_EXTERNAL&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (csv file)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AcountId&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AccountId (key, already fill)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EMPLID&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(Account object)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (Asset object)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, my problem is that the upsert doesn't work because&amp;nbsp;&lt;SPAN&gt;supposedly the field AccountId doesn't exit in Asset or is not an external id, but it exist and my profile is able to edit it. &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 10:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342561#M110416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-16T10:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: upsert into salesforce (lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342562#M110417</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LM55AAG"&gt;@tjclearner&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID_External is an external id&amp;nbsp; and&amp;nbsp; AccountId is an indexed id ( because is a lookup field), both are ok to do upsert, I have done it before, but now I don't now what is happening,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this error:&amp;nbsp;exceptionMessage='Field name provided, AccountId does not match an External ID, Salesforce Id, or indexed field for Asset'&lt;BR /&gt;extendedErrorDetails='{[0]}'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and at the same time I can see in my salesforce setting that AccountId is a indexed field...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 13:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/upsert-into-salesforce-lookup/m-p/2342562#M110417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-16T13:04:49Z</dc:date>
    </item>
  </channel>
</rss>

