Use Build Manager to perform a search and replace in a database.
Note: This action requires that a licensed copy of Teamstudio Configurator is installed on each workstation that is performing a promotion.
To create a search and replace step:
Select the Build or Promotion Path that relates to the database or templatein which you want to search and replace text.
Click the Create button and select Search and Replace. The Search and Replace document appears
The Search and Replace document is active by default. Leave this setting.
Enter a descriptive name in the Description field (for example, change email address).
Enter the text you want to find into the Find field (for example, email@example.com).
Note: The blue percent sign (%) indicates that you can use replacement macros in this field. Click the blue percent sign to view all options. See “Replacement Macros,” on page 3-3.
Enter the text you want to replace it with into the Replace field (for example, firstname.lastname@example.org).
Specify if you want to recompile after the replacement is complete (Yes or No)
Select a search option (Design and/or Documents).
If you want to search by design, enter @All for the entire design (default) or enter another criteria.
If you want to search by document, specify View or Formula. In either case, specify the view or the formula.
- Select one or more Match options.
Check the Verify Result box if you want the build to fail if a threshold of replacements is not made.
The new Search and Replace entry appears in the right pane, under the Build or Promotion Path to which it applies.