Forcex v0.8.0 Forcex.Bulk.Client

Link to this section Summary

Link to this section Functions

Link to this function default_config()
Link to this function login(c \\ default_config())

Initially signs into Force.com Bulk API.

Login credentials may be supplied. Order for locating credentials:

  1. Map supplied to login/1
  2. Environment variables
  3. Applications configuration

Supplying a Map of login credentials must be in the form of

%{
  username: "...",
  password: "...",
  security_token: "..."
}

Environment variables

  • SALESFORCE_USERNAME
  • SALESFORCE_PASSWORD
  • SALESFORCE_SECURITY_TOKEN

Application configuration

config :forcex, Forcex.Bulk.Client,
  username: "user@example.com",
  password: "my_super_secret_password",
  security_token: "EMAILED_FROM_SALESFORCE"

Will require additional call to locate_services/1 to identify which Force.com services are availabe for your deployment.

client = Forcex.Bulk.Client.login
Link to this function login(conf, starting_struct)