データローダー (Data Loader) をバッチモード (Batch Mode) で使用するための設定手順を説明します。暗号化キーの生成、パスワードの暗号化、対応付けファイルの作成、設定ファイルの編集、そしてコマンドラインでの実行方法を詳細に説明します。
1. データローダーのインストールディレクトリへ移動します。
[cd C:\Program Files (x86)\salesforce.com\Data Loader\bin]
2. 任意の文字列を用いて暗号化キーを生成します。コマンド中の <seedtext> は任意の文字列に置き換えます。
[encrypt.bat -g <seedtext>]
3. 出力された次のコンソールの *************** の部分をテキストファイルにコピーし、"key.txt" として保存します。このキーは次のステップでパスワードを暗号化する際に使用します。
[security.EncryptionUtil main (EncryptionUtil.java:304) - ***************]
Windows のコマンドプロンプトから暗号化キーを生成 (データローダーバージョン 43,44の場合)
1. データローダーのインストールディレクトリへ移動します。
[cd C:\Program Files (x86)\salesforce.com\Data Loader\bin]
2. 暗号化キーファイルを生成します。コマンド中の <path to key file> は任意のディレクトリ、およびファイル名(拡張子は.keyとします)に置き換えます。<path to key file>の指定がない場合、 "C:\Users\<Windowsユーザー名>\.dataloader\dataLoader.key" として暗号化キーファイルが生成されます。
[encrypt.bat -k <path to key file>]
3. 暗号化キーファイルが生成されたことを確認します。このファイルは次のステップでパスワードを暗号化する際に使用します。
例: [Keyfile "C:\Users\<Windowsユーザー名>\.dataloader\dataLoader.key" was created!]
Windows のコマンドプロンプトから暗号化キーを生成 (データローダーバージョン 45 以降の場合)
1. データローダーのインストールディレクトリへ移動します。
[C:\Users\<Windows ユーザー名>\dataloader\<データローダーバージョン>\bin]
2. 暗号化キーファイルを生成します。コマンド中の <path to key file> は任意のディレクトリ、およびファイル名(拡張子は.keyとします)に置き換えます。<path to key file>の指定がない場合、 "C:\Users\<Windowsユーザー名>\.dataloader\dataLoader.key" として暗号化キーファイルが生成されます。
[encrypt.bat -k <path to key file>]
3. 暗号化キーファイルが生成されたことを確認します。このファイルは次のステップでパスワードを暗号化する際に使用します。
例: [Keyfile "C:\Users\<Windowsユーザ名>\.dataloader\dataLoader.key" was created!]
暗号化キーを用いて、データローダーのパスワードを暗号化パスワードに変換します。<password> はデータローダーが Salesforce (セールスフォース) にログインするために使用するパスワード、<filepath> は "key.txt"を保存したディレクトリに置き換え、コマンドプロンプト上で実行します。
[encrypt.bat -e <password> "<filepath>\key.txt"]
ログインユーザー名の暗号化パスワードを作成 (データローダーバージョン 43以降の場合)
暗号化キーファイルを用いて、データローダーのパスワードを暗号化パスワードに変換します。<password> はデータローダーが Salesforce にログインするために使用するパスワード、<filepath> は ".key"を保存したディレクトリに置き換え、コマンドプロンプト上で実行します。
例: [encrypt.bat -e <password> "C:\Users\<Windowsユーザー名>\.dataloader\dataLoader.key"]
000386154

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.