Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cluster Command Reference
  11. infacmd cms Command Reference
  12. infacmd dis Command Reference
  13. Infacmd es Command Reference
  14. infacmd ihs Command Reference
  15. infacmd ipc Command Reference
  16. infacmd isp Command Reference
  17. infacmd ldm Command Reference
  18. infacmd mrs Command Reference
  19. infacmd ms Command Reference
  20. infacmd oie Command Reference
  21. infacmd ps Command Reference
  22. infacmd pwx Command Reference
  23. infacmd rms Command Reference
  24. infacmd rtm Command Reference
  25. infacmd sch Command Reference
  26. infacmd search Command Reference
  27. infacmd sql Command Reference
  28. infacmd tdm Command Reference
  29. infacmd wfs Command Reference
  30. infacmd ws Command Reference
  31. infacmd xrf Command Reference
  32. infacmd Control Files
  33. infasetup Command Reference
  34. pmcmd Command Reference
  35. pmrep Command Reference
  36. Working with pmrep Files

Salesforce Connection Options

Salesforce Connection Options

Use connection options to define a Salesforce connection.
Enter connection options in the following format:
... -o option_name=value option_name=value ...
Example for Salesforce connection using
infacmd
infacmd createConnection -dn DomainName -un Domain_UserName -pd Domain_Pwd -cn Connection_Name -cid Connection_ID -ct SALESFORCE -o userName=salesforceUserName password=salesforcePWD SERVICE_URL=https://login.salesforce.com/services/Soap/u/42.0
Example for OAuth Salesforce connection using
pmcmd
pmcmd createConnection -s Salesforce -n ConnectionName -u -p -l CodePage -k ConnectionType=OAuth RefreshToken=salesforceRefreshToken ConsumerKey=salesforceConsumerKey ConsumerSecret= salesforceConsumerSecret Service_URL=https://login.salesforce.com/services/Soap/u/42.0
Example for Standard Salesforce connection using
pmcmd
pmcmd createConnection -s Salesforce -n ConnectionName -u salesforceUserName -p salesforcePWD -l CodePage -k ConnectionType=Standard Service_URL=https://login.salesforce.com/services/Soap/u/42.0
To enter multiple options, separate them with a space. To enter a value that contains a space or other non-alphanumeric character, enclose the value in quotation marks.
The following table describes Salesforce connection options for infacmd isp CreateConnection and UpdateConnection commands:
Option
Description
Username
Salesforce username.
Password
Password for the Salesforce user name. The password is case sensitive.
To access Salesforce outside the trusted network of your organization, you must append a security token to your password to log in to the API or a desktop client.
To receive or reset your security token, log in to Salesforce and click
Setup
My Personal Information
Reset My Security Token
.
Refresh Token
For OAuth Salesforce connection. The Refresh Token of Salesforce generated using the Consumer Key and Consumer Secret.
Consumer Key
For OAuth Salesforce connection. The Consumer Key obtained from Salesforce, required to generate the Refresh Token. For more information about how to generate the Consumer Key, see the Salesforce documentation.
Consumer Secret
For OAuth Salesforce connection. The Consumer Secret obtained from Salesforce, required to generate the Refresh Token. For more information about how to generate the Consumer Secret, see the Salesforce documentation.
Connection Type
Select the Standard or OAuth Salesforce connection.
Service URL
URL of the Salesforce service that you want to access. In a test or development environment, you might want to access the Salesforce Sandbox testing environment. For more information about the Salesforce Sandbox, see the Salesforce documentation.


Updated April 22, 2019