Giter VIP home page Giter VIP logo

dataloader's Introduction

dataloader

Force.com Apex Data Loader for Linux/Mac - command line version

This project provides the missing configuration and scripts for running the Apex Data Loader from Linux or Mac command line. The Apex Data Loader provided by Salesforce.com is for Windows only but it is a Java jar file that can be run on any platform that supports a JDK. The scripts are solely for executing the data loader from a command line and do not provide the GUI that is available in the Windows and the open source Mac versions.

The open source version of dataloader is available from: https://github.com/forcedotcom/dataloader

##Requirements:

  1. Java 1.6+, available in the PATH

  2. DataLoader JAR file from Windows or built from the open source project. (The current name/version of the jar file is: dataloader-30.0.0-uber.jar, tested with 40.0.0 as well.)

##Steps:

  1. Clone this project
$ git clone https://github.com/sthiyaga/dataloader.git
  1. Copy the dataloader-30.0.0-uber.jar file to dataloader/ directory
  2. Generate the private key to encrypt the password
$ bin/encrypt.sh -g <some-random-seed-text> 
  1. Copy the output from Step 3 above to conf/private.key (replacing the text in there)
  2. Encrypt the salesforce password (+security token, if required) using the generated private key
$ bin/encrypt.sh -e "password+security token" conf/private.key
  1. Copy the output from Step 4 above to the conf/config.properties file for the sfdc.password token
  2. Update the conf/config.properties file with sfdc.username and sfdc.endpoint token values
  3. Optionally, adjust any other parameters in the conf/config.properties file
  4. Run the sample account extract process
$ bin/process.sh csvAccountExtractProcess

This should produce the output file in the data/ directory and if the debug log was enabled, the trace file in the status/ directory.

Enjoy!

-Senthil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.