what should be the best practice to delete records and it's related attachments using Dataloader. As I understand, attachments are not getting deleted when you delete the parent record. Any suggestions?

1 Answer 1


You're going to want to find a way to single out the attachment records of those objects you wish to delete (likely match the IDs of the records to the ParentId on the Attachment record - object reference here). Ragesh's answer on this question may help you in figuring out how to do so. Then, follow the instructions of the Mass delete attachments with Data Loader knowledge article.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .