<?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: Update a MS SQL Server table with auto-gen'd Salesforce Id in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254056#M37191</link>
    <description>&lt;P&gt;I appreciate your taking the time to help, but please keep in mind I have never done this before and have very minimal experience with Talend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I unchecked the "Use Field Options" box on the Advanced settings tab of the tMSSqlOutput_1 component as you mentioned in your post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You also mentioned "check key for Recordkey." Where? In the tMap_2? The tMap_2 component already shows the Recordkey as the PK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could maybe provide a pic or perhaps a detailed explanation on where and how I am supposed to &lt;SPAN&gt;"check key for Recordkey"&lt;/SPAN&gt;, that would be very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 17:33:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-04T17:33:14Z</dc:date>
    <item>
      <title>Update a MS SQL Server table with auto-gen'd Salesforce Id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254052#M37187</link>
      <description>&lt;P&gt;Hi - I am a Talend novice and am trying to upload records to Salesforce, get the auto-generated Id and update the local database with that Id for each record that was selected/uploaded. I have outlined my process&amp;nbsp;as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Receive a file from a 3rd party&lt;/P&gt;
&lt;P&gt;2. Stage the file in a MS SQL Server database table (Table A)&lt;/P&gt;
&lt;P&gt;3. Read the records from Table A and insert the data into Salesforce (which auto-generates an Id value)&lt;/P&gt;
&lt;P&gt;4. Update Table A with the newly created SF Id value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot figure out how to get Talend to make the update in Table A. Pics of my job are attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I can provide further clarification, please let me know and thanks in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254052#M37187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update a MS SQL Server table with auto-gen'd Salesforce Id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254053#M37188</link>
      <description>I think that your recorkey is a unique id of your db table.&lt;BR /&gt;in output you did not need field option. you just have to set recordkey as key.</description>
      <pubDate>Mon, 03 Sep 2018 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254053#M37188</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-03T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update a MS SQL Server table with auto-gen'd Salesforce Id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254054#M37189</link>
      <description>&lt;P&gt;Thank you for your response. I'm not sure I understand what you are saying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RecordKey is the PK in my local table.&lt;/P&gt;
&lt;P&gt;SalesforceId is the PK in the table I am inserting into in Salesforce.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am passing the RecordKey value through the process so that when I get the auto-generated SalesforceId back after insert into Salesforce, I can update the local table with the corresponding SalesforceId for that row. RecordKey is what lets me map the new SalesforceId to corresponding row locally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if I have 1 record in my local table with RecordKey value = 1&lt;/P&gt;
&lt;P&gt;I insert the value from that row into Salesforce and an Id of "ABC" is generated by Salesforce&lt;/P&gt;
&lt;P&gt;I need to update the SalesforceId value in my local database table for the row where RecordKey=1 with the value "ABC"&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 19:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254054#M37189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-03T19:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update a MS SQL Server table with auto-gen'd Salesforce Id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254055#M37190</link>
      <description>we are inline.
&lt;BR /&gt;
&lt;BR /&gt;in tOutputXxx uncheck "field option".
&lt;BR /&gt;check key for Recordkey. (so Talend is going to use it for update ….. where Recordkey=xxx)
&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2018 08:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254055#M37190</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-04T08:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update a MS SQL Server table with auto-gen'd Salesforce Id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254056#M37191</link>
      <description>&lt;P&gt;I appreciate your taking the time to help, but please keep in mind I have never done this before and have very minimal experience with Talend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I unchecked the "Use Field Options" box on the Advanced settings tab of the tMSSqlOutput_1 component as you mentioned in your post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You also mentioned "check key for Recordkey." Where? In the tMap_2? The tMap_2 component already shows the Recordkey as the PK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could maybe provide a pic or perhaps a detailed explanation on where and how I am supposed to &lt;SPAN&gt;"check key for Recordkey"&lt;/SPAN&gt;, that would be very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 17:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254056#M37191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-04T17:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Update a MS SQL Server table with auto-gen'd Salesforce Id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254057#M37192</link>
      <description>&lt;P&gt;Actually, I think I got it. I did the insert and got it to update the newly generated SF Id into the local table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your help and patience!!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-a-MS-SQL-Server-table-with-auto-gen-d-Salesforce-Id/m-p/2254057#M37192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-04T18:12:28Z</dc:date>
    </item>
  </channel>
</rss>

