Configuring the components - 7.1

Salesforce

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Business applications > Salesforce components
Data Quality and Preparation > Third-party systems > Business applications > Salesforce components
Design and Development > Third-party systems > Business applications > Salesforce components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the tSalesforceConnection component to open its Basic settings view.
  2. Select OAuth from the Connection type drop-down list and Implicit Flow from the Oauth2 flow type drop-down list.
  3. In the Client Id and Client Secret fields, enter the key and secret used by the consumer to access Salesforce respectively.
  4. In the Callback Host and Callback Port fields, enter the callback host and port information respectively.
  5. In the Token File field, browse to or enter the path to the token file that stores the refresh token used by the OAuth-enabled connected app to obtain new sessions without requiring the user to provide their credentials.
  6. Double-click the tFixedFlowInput component to open its Basic settings view.
  7. Click the [...] button next to Edit schema and in the pop-up schema dialog box, define the schema by adding one column Name of String type. When done, click OK to save the changes and close the dialog box.
  8. In the Mode area, select Use Inline Content (delimited file). Then in the Content field displayed, enter the data to be written into Salesforce. For example, Talend.
  9. Double-click the tSalesforceOutput component to open its Basic settings view.
  10. Select the tSalesforceConnection component from the Connection Component drop-down list to reuse the connection created by it.
  11. Click the [...] button next to the Module Name field and in the pop-up dialog box, select the object you want to access. In this example, it is Account.
  12. Click the [...] button next to Edit schema to open the schema dialog box. On the right side of the panel, remove all the columns except the column Name. When done, click OK to save the changes and close the dialog box.