Four Stars

upsert into salesforce

Can you please explain how to upsert data from excel file to salesforce. The salesforce object has no lookup field. Just need to upsert on single object with an external custom/standard field. How to design talend job for this case?

1 ACCEPTED SOLUTION

Accepted Solutions
Thirteen Stars TRF
Thirteen Stars

Re: upsert into salesforce

The minimalist design looks like tFileInputExcel-->tSalesforceOutput.
For this component you need a field declared as an External Id used by salesforce to decide the action (insert or update) for each record.

TRF
3 REPLIES
Thirteen Stars TRF
Thirteen Stars

Re: upsert into salesforce

The minimalist design looks like tFileInputExcel-->tSalesforceOutput.
For this component you need a field declared as an External Id used by salesforce to decide the action (insert or update) for each record.

TRF
Four Stars

Re: upsert into salesforce

I done it like TFileInputExcel ==> tMap ==> tSalesforceOutput(External Id).

It is upserting data correctly into salesforce. Thanks for reply.

But after executing talend job, giving exception:    java.io.IOException: Name not specified   - here Name is standard field (Upsert key column).

Thirteen Stars TRF
Thirteen Stars

Re: upsert into salesforce

Can you share your tSalesforceOutput settings with schema?


TRF