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
tony2009tony2009 

upsert attachment from command line

Hi Guys,

 

Is there any way I could upsert the attachment from command line data loader? 

 

My understanding is that extenal id is the key for upserting, but you cannot create a extenal id for attachment. So there is no way to upsert attachment ? Am I right?

 

Thanks in advance 

Tony

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Navatar_DbSupNavatar_DbSup

Hi,

 

There is no external ID field defined on Attachment object. The ID field will be used for matching.

So there is no way to upsert attachment.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.