Snippet - Retreiving the ID of a Record Inserted with the Talend SugarCRM Component

When using Talend with SugarCRM it is often necessary to retrieve the SugarCRM ID of a record that was inserted via the tSugarCRMOutput Component. 


To retrieve the ID go to a variable section of a component like a tMap, click in the variable area and type CTRL + Spacebar. This will show you all global variables including the ID set in a tSugarCRMOutput component.

Example: If the component used to do the insert is tSugarCRMOutput_1 then the return id will be held in tSugarCRMOutput_1.ID



Author: Josh Sweeney
Last Edited: May 24, 2010
CRM: SugarCRM