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
sajm_2010sajm_2010 

How to import attachments?

Hi All,

 

Please help me in knowing how to import attachments in salesforce? I tried, but it gives me in some encrypted form. Is there a way in Salesforce to import these?

 

Thanks

Pradeep_NavatarPradeep_Navatar

First of all you have to replace the "ParentId" of the exported attachment with the Object Id in which you are going to attach this attachment then create one more column in exported attachment with the name "Body" and in this column put the local system path where your document is present. Rename your document name with attachment id then import the attachment.

 

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

Alan_Marcus.ax831Alan_Marcus.ax831

Hi there,

 

I just ran into the same issue, and found a step-by-step walk thru.  Hope this works for you too!

 

Link to solution

 

-Alan

www.cloudforward.com