I need to fetch records from Account table of Sales force based on AccountNumber field. Which Sales Force Connector I should use? Can you please provide me with some sample url or post.
I have noticed connectors (tSalesForceGetUpdated and tGetSalesForceServerTimeStamp) but not sure how to use them to fetch record based on fields of Account Table, e.g. AccountNumber in my case.
One more thing can any one also please let me know how to fetch records based ID field of Accounts table?
Can any one please help me on this?
Solved! Go to Solution.
You want to SELECT data from Salesforce, so the component to use is tSalesforceInput.
Fill the fields to establish the connection (or use a tSalesforceConnection component and select it in the "Connection Component" field), select or enter the object name, then fill the Condition field whith yours.
If you have the AccountNumber in a context variable you may write something like that:
"AccountNumer = '" + context.myAccountNumber + "'"
Hope this helps.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables