データセットを設定するときに、特定の意味を持った値の変数(パラメーター)を定義することができます。
To assign a value to a parameter (that is, to define the parameter), you add the parameter's name and value to the Parameters vector in a log processing or Transformation Dataset Include file. 定義したパラメーターは、データセットプロファイルの設定ファイルから参照することができます。こうしたパラメーターを定義して参照することを「パラメーターの置き換え」といいます。データセットを設定する際、パラメーターの置き換えを行うことによって、パラメーターの定義を 1 箇所にまとめることができます。繰り返し参照されるパラメーターや多数のファイルから参照されるパラメーターの更新が必要になったときに、1 回で変更を済ませることができます。
このガイドでは、設定ファイル(Log Entry Condition、Reprocess、Transformationsなど)内の設定の名前を指すために、パラメーターという用語が使用されています。 しかし、この節に限っては、パラメーターという用語が出現した場合、設定ファイル内の設定名ではなく、データセットインクルードファイル内の Parameters ベクトルのメンバーを指すものとします。
パラメーターを定義する際は次の点に注意してください。
パラメーターを定義するには
文字列、数値、ベクトルの各パラメーターは、およびファイルで Log Processing 定義で Transformation Include きます。
またはファイルのData Workbenchウィンド Log Processing ウで右ク Transformation Dataset Include リックし、 Parameters/をクリック Add new します Parameter。
、、ま String Parameterたは Numeric Parameterを選択 Vector Parameterし、次の節で説明するように、NameとValueのパラメーターを設定します。
To save the dataset include file in which you have defined the parameter, right-click (modified) at the top of the window and click Save.
To make the locally made changes take effect, in the Profile Manager, right-click the check mark for the file in the User column, then click Save to > <profile name>, where profile name is the name of the dataset profile or the inherited profile to which the dataset include file belongs.
アドビから提供される内部プロファイルには、変更した設定ファイルを一切保存しないでください。内部プロファイルに対するアップデートをインストールするときに変更内容が上書きされます。
パラメーターを参照するには
定義できるパラメーターのタイプについては、次の節で説明しています。