function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
StreepeyeStreepeye 

Delete records from custom object via an external key

I would like to delete records using a external key.

But the delete operation from the APEX DATALOADER won't let me use the external key as key for deletion!

 

So, what is the way to delete records via an external key?

 

 

Message Edited by Streepeye on 03-31-2009 06:22 AM
Best Answer chosen by Admin (Salesforce Developers) 
CaffeineCaffeine

SE,

The function is not available today.   

 

When you Upsert the records by their External Id, you'll get a successes.csv file that will contain the Salesforce Id of the upserted record.  You'll have to use this file as your cross-reference between the Salesforce Id of the record and External Id.

 

 

Hope this helps.

All Answers

CaffeineCaffeine

SE,

The function is not available today.   

 

When you Upsert the records by their External Id, you'll get a successes.csv file that will contain the Salesforce Id of the upserted record.  You'll have to use this file as your cross-reference between the Salesforce Id of the record and External Id.

 

 

Hope this helps.

This was selected as the best answer
StreepeyeStreepeye
Ok, than i am not grazy...! (and that helps!)