Skip to main content

Posts

Showing posts from March, 2018

Exporting Files/Attachments from Salesforce

While working on a Salesforce migration project where I was asked to export a set of attachments from one Salesforce Org to another, I developed this tool. The customer had millions of attachments in their source Org and only a few thousands had to be migrated.
What are the existing options in the market?Few of the existing options suggested by different people were:
Use Weekly Export. I could use it but I only had to export a few thousand attachments from millions and I can only run it once a week.Use dataloader.io. The free version only allows me to extract limited records on a day.Where can I download this from?I developed a JAR file which did the job for me and wanted to share it with everyone. 

Download URL: https://www.crossdoor.io/sfdcfiles/

There are 2 files
build.propertiesSFDCFiles.jarFirst step is to setup build.properties with the Org credentials and SOQL to extract data from.
How to run this?To run this Jar file execute the below command on your terminal/command prompt:

java -ja…