検索と置換 |
[検索と置換] 操作では、指定されたソース内のテキストまたは文字を検索し、入力された内容で置換します。
[検索と置換] 操作では、以下のプロパティを設定できます。
アクション
名前: 操作の名前を指定します。 必要な場合は、フィールドに新しい名前を入力して既定名を置き換えられます。
説明: 操作の説明を保存できます。
Run Action: 操作を実行する頻度を指定できます。
常に: Integration Service で統合が実行されるたびに操作が実行されます。
しない: Integration Service での統合の実行時に操作は実行されません。
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. このオプションは、操作を実行するかどうかを決定する条件が 1 つのみの場合に使用してください。 このオプションを有効にすると、表示される入力ボックスに条件ステートメントを作成できます。
式に基づく条件に従う: Specifies the conditions under which the Integration Service will run the action. このオプションは、条件ステートメントが複数必要な場合に使用します。 このオプションを有効にすると、必要な条件ステートメントを作成することによって、表示された入力ボックスに条件式を作成できます。 You create and edit your conditional expression on the Tree View tab. Click the Text View tab to see a read-only text view of the conditional expression.
Source
ソース: 操作を実行するデータのソースを指定します。
値: 表示される入力ボックスを使用して、操作で使用するデータを入力します。 Alternatively, you can add a variable to specify the data, or add a special character to the value you have entered.
インポート: 必要なデータを含むファイルを参照して選択できる [ファイルを開く] ダイアログが開きます。 ファイルの内容が、[値] 入力ボックスにインポートされます。
エクスポート: [値] 入力ボックスの内容を外部ファイルに保存できる [ファイルの保存] ダイアログが開きます。 値を新しいファイルとして保存するか、または既存ファイルの内容と置換できます。
変数:
変数: ソースに使用する変数を入力します。 または、変数を追加できます。
外部ファイル:
場所: ソースフォルダが存在するファイルシステムを指定します。 File systems or locations can include local file systems or network shares, Librarian, or a supported cloud storage location. For more information about supported cloud storage locations, see Administration Console's
ファイル名: ファイルパスを指定します。 フォルダの場所とファイル名を入力するか、[参照] をクリックして参照し、目的のファイルを選択します。 Alternatively, you can add a variable to specify the desired file, or add a special character to the value you have entered.
ファイルのエンコーディング: ソースファイルによって使用されるエンコーディングを指定します。
オプション
検索文字列: Specifies the text or characters you want to search for in the source. Alternatively, you can add a variable to specify your search term, or add a special character to the value you have entered. You also have the option of using a regular expression or wildcard modifier to make your search more specific.
Search Method: Specifies the method to use for performing the search:
Literal: 入力されたテキストのみを検索します。
Use Wildcards (* and ?): 検索条件を広げる、または絞り込むためにワイルドカード文字を使用して検索します。
正規表現の使用: 検索条件を広げる、または絞り込むために正規表現を使用して検索します。
検索テキストに変数が含まれています: このオプションを有効にすると、検索テキストに 1 つまたは複数の変数が含まれていることを指定します。この場合、変数は、操作前に検索テキストで処理されます。
置換文字列: 検索テキストまたは文字と置き換えるテキストまたは文字を指定します。 目的の置換内容を入力します。 または、置換内容を指定する変数を追加したり、入力した値に特殊文字を追加したりできます。
すべての発生: このオプションを有効にすると、検索で見つかったすべての検索テキストまたは文字のインスタンスが置換されます。
最初の発生のみ: このオプションを有効にすると、検索で見つかった検索テキストまたは文字の最初のインスタンスのみが置換されます。
最初の {#} 発生: このオプションを有効にすると、検索で見つかった検索テキストまたは文字のうち、指定された個数 (見つかった順序) のインスタンスが置換されます。
置換テキストに変数が含まれています: このオプションを有効にすると、置換テキストに 1 つまたは複数の変数が含まれていることを指定します。この場合、変数は、操作前に置換テキストで処理されます。
出力
Save output to variable: 操作の出力を保存する変数を指定します。 目的の変数を入力します。 または、変数を追加できます。
テスト: 検索と置換
テスト: 操作を実行します。 The Message pane displays information on the success or failure of the action.
|
Clicking the Test button executes the action only and does not run the integration. このため、使用するよう設定した統合からのデータは使用せずに操作が実行されます。 For information on testing your integration, refer to Using the Test Pane. |
ログオン設定
Inherit from parent action: When enabled, the action inherits the user account credentials specified on the Actions property page. Alternatively, if the action is part of a Group action, it will inherit the user account credentials specified on the immediate parent Group action’s property page.
ユーザーの認証情報を指定: このオプションを有効にすると、操作は、指定された資格情報を使用して実行されます。
エラー処理および診断
Ignore errors and continue running actions: このオプションを有効にすると、操作が失敗したときに他の操作の実行が継続されます。
|
このプロパティが有効でない場合は、操作が失敗したときの動作は以下のシナリオによって異なります。
If the selected action is within a Group action, no actions outside of that Group action are affected. |
Retry if failed: このオプションを有効にすると、操作が失敗したときに操作の実行が再試行されます。
Maximum retries: 操作の実行の最大再試行回数を指定します。 Available when Retry if failed is enabled.
Retry interval: 操作の失敗時に操作の実行を再試行するまでの時間を指定します。 Available when Retry if failed is enabled.