Download data from Salesforce

Parameters:
To use this action, you’ll need to get several parameters from Salesforce:
Once you have completed the “setup process” , you can use the parameters to select the data to extract from your Salesforce system.
The parameter P3 is a number that defines how many rows of data will be downloaded from Salesforce (this is mostly useful only for testing, the first time that you connect to Salesforce).
The parameter P4 is the WHERE Clause of the SOQL statement. For more details about SOQL statements, see here:
If the parameter P4 is left empty, ETL downloads all the records (i.e. there is no filter).
Before downloading data from Salesforce or before uploading data to Salesforce, you need to create a new Salesforce application. Here are the steps:



IMPORTANT: For the “Callback URL” parameter, you must use (this is case sensitive): https://timi.eu/oauth/SFgetNewToken.php. If you miss this step, you’ll get later this error “redirect url must match”.


10. Open ETL. The parameters P5, P6, P7 should now be filled-in:


If you don’t see “Success” in your browser, it most certainly means that your parameter P5 (i.e. the “URL”) is wrong: Please refer to the step 3 to get the correct parameter P5.
If you cannot see the Salesforce login page at step 10 of the previous section, it usually means that you need to follow this procedure:


4. Click the “save” button at the end of the page.
If you see inside the ETL log window the following error message “The REST API is not enabled for this Organization. Code: API_DISABLED_FOR_ORG” this usually means that you are still using the TRIAL version of Salesforce. You need the paid version of Salesforce to be able to use the Saleforces action inside ETL. If you are using the paid version of Salesforce and you still get this error message, then you’ll need to enable the “REST API” for your organization: Here is the procedure:


