Replace Text
Purpose
Finds and replaces all occurrences of a string in a Word file with the given substring.
Description
The Replace Text component finds and replaces all occurrences of a string with the given substring in a Word file. In the given example, the Replace Text activity replaces the occurrences of a figure (in dollars) with another one in the given Word file.
Properties
Property |
Data Type |
Description |
General |
|
|
Display Name |
String |
Display name of the component. |
Enable Pause |
-NA- |
Option to pause the activity (related to the component) during a job execution after receiving a pause control signal from the Cockpit application. The checkbox is selected by default. |
Input |
|
|
File Path* |
String |
Complete file path, including the file name, of the Word file. |
Find Text* |
String |
String that is to be found and replaced. |
Replace With* |
String |
Replacement substring. |
Misc |
|
|
Enable Bookmark |
-NA- |
Option to set a bookmark. |
Is Reserved |
-NA- |
Option to disable data tracing related to the component. |
Result |
|
|
Text Found |
Boolean |
True, if text is found and replaced else False. |
Note: Property marked with * mandatory. |