tSalesforceGetDeleted
object.
tSalesforceGetDeleted Standard properties
These properties are used to configure tSalesforceGetDeleted running in the Standard Job framework.
The Standard
tSalesforceGetDeleted component belongs to the Business and the Cloud families.
The component in this framework is available in all Talend
products.
Basic settings
Property Type |
Select the way the connection details
This property is not available when other connection component is selected |
Connection Component |
Select the component that opens the database connection to be reused by this |
Connection type |
Select the type of the connection from the drop-down list. The
|
User Id |
The Salesforce username. This property is available |
Password |
The Salesforce password associated with the username. This property is available |
Security Token |
The Salesforce security token. For more information, see Reset Your Security Token. This property is available |
Issuer |
The OAuth Consumer Key, generated This property is available only |
Subject |
The Salesforce username. This property is available only |
Audience |
Json Web Token audience. You can set your own Json Web Token This property is available only |
Expiration time (in seconds) |
The expiration time of the assertion (in seconds) within five This property is available only |
Key store |
The path to the keystore file in Java Keystore (JKS) format. The keystore file can be generated by creating a certificate signed by This property is available only |
Key store password |
The keystore password. This property is available only |
Certificate alias |
The unique name of the certificate signed by Salesforce. This property is available only |
Client Id |
The OAuth Consumer Key, generated This property is available |
Client Secret |
The OAuth Consumer Secret, generated when your connected app is This property is available |
Callback Host |
The host value in the OAuth authentication callback URL that is This property is available |
Callback Port |
The port value in the OAuth authentication callback URL that is This property is available |
Token File |
The path to the token file that stores the refresh token used to get This property is available |
Module Name |
Click the […] button next to |
Schema and Edit schema |
A schema is a row description. It defines the number of fields Click Edit
Click Sync This This |
Start Date |
Click the […] button Note that you can collect only the data deleted in the past 30 |
End Date |
Click the […] button |
Advanced settings
Salesforce URL |
The Webservice URL required to connect to Salesforce. |
API version |
The Salesforce API version. This property is available only when the |
Need compression |
Select this check box to activate SOAP message compression, which can |
Use Http Chunked |
Select this check box to use the |
Client Id |
Enter the ID of the real user to differentiate between those who use |
Timeout |
Enter the intended number of query timeout in milliseconds in |
Use Proxy |
Select this check box to use a proxy server, and in the Host, Port, |
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at the Job level |
Global Variables
NB_LINE |
The number of rows processed. This is an After variable and it returns an integer. |
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After |
Usage
Usage rule |
This component is usually used as a start component of a Job or |
Recovering deleted data from Salesforce
This scenario describes a two-component Job that collects the account data
deleted over the past five days from Salesforce.
Setting up the Job for recovering deleted data from Salesforce
-
Create a new Job and add a tSalesforceGetDeleted component and a tLogRow component by typing their names on the design workspace
or dropping them from the Palette. -
Connect the tSalesforceGetDeleted component
to the tLogRow component using a Row > Main
connection.
Configuring the Job for recovering deleted data from Salesforce
-
Double-click the tSalesforceGetDeleted component to open its Basic settings view.
-
In the User Id, Password and Security
Key fields, enter the user authentication information required
to access Salesforce. -
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. When done, click OK
to save the settings and close the dialog box. -
Click the […] button
next to the Start Date field and in the
pop-up calendar dialog box, set the value of the start date and time to collect
only the data deleted since the specified time. In this example, it is
2016-06-08 00:00:00. -
Do the same to set the value of the end date and time in the End Date field to collect only the data deleted
before the specified time. In this example, it is 2016-06-13
00:00:00. -
Double-click the tLogRow
component to open its Basic settings
view. -
Click Sync columns to
retrieve the schema from the preceding component. -
In the Mode area, select
Vertical (each row is a key/value
list) to display the results in a tabular form on the
console.
Executing the Job to recover deleted data from Salesforce
- Press Ctrl + S to save your Job.
-
Press F6 to run your
Job.As shown above, the data deleted during the past five days is collected and
displayed in a tabular form on the console.