[ad_1]
To maneuver attachment information from one Salesforce org to a different, from one object to a different, or to import from one place, you could observe two primary guidelines for exporting and importing.
Export Attachments in Salesforce
- Login to http://dataloader.io along with your login to Salesforce.
Notice: You should utilize any information loading software corresponding to Knowledge Loader, Dataloader.io or Talend.
- Assuming you might be utilizing Dataloader.io, click on New Process and choose the Export button.
- Choose Attachment object, click on Subsequent.
- Choose the listing of fields and whether or not to use filters, then click on Subsequent, or use the next SOQL question to question for instance attachments on the Account object. You should utilize any merchandise to obtain from that particular merchandise or all gadgets.
- Click on “Save & Run”.
- Wait the method.
- After the duty is full, click on the hyperlink subsequent to the export job in Process Supervisor to obtain the attachment. This may obtain all attachments zipped into her one .zip file, instance: Attachment Export-Demo.zip
- Choose another subject above the textual content field to discover a CSV file with the identical identify. For instance: Attachment Export-Demo.csv. All of the fields she selected when exporting to dataloader.io can be found in her CSV file.
Remember to take a look at: Introduction to Creating and Using Salesforce Reports
Import Attachments in Salesforce
- Create an attachments.csv file (the identify of the file does not matter) with the next column headings:
- ParentId: Report’s ID to which the attachment must be related
Identify: Identify of the attachment
ContentType: Format of extension (e.g. .xls, .pdf, and many others)
OwnerID: ID for the proprietor of the attachments
Physique: File path to the Attachment on the native System.(C:paperwork and settingsschundesktopattachmentsfile.xls)
- ParentId: Report’s ID to which the attachment must be related
- Log in to the Knowledge Loader
- Choose the “Insert” Command
- Within the Choose Salesforce Objects step, choose the Present All Salesforce Objects examine field and choose Attachments
- Select the attachments.csv file
- Map the next fields, within the mapping step:
- Guardian ID
Identify
Proprietor ID
Physique: Map the beforehand created Physique column to the file extension. How one can decide the file and site of the attachment to insert.
- Guardian ID
- Click on “OK” to proceed with the insert. It could take a couple of minutes, however the attachment is efficiently uploaded to your Salesforce org.
- Additionally, be sure to are utilizing a legitimate Guardian ID/Proprietor ID because the Guardian ID will probably be completely different within the second org. Due to this fact, these attachments are added to the right data.
Try one other superb weblog by Nikhil right here: Apex Triggers in Salesforce | Here’s What you Need to Know
[ad_2]
Source link