Search and replace text in items

You can search for items by text they contain, and search for and replace text in items. When you replace text in an item, the item is updated and a new revision is created.

PRIVILEGES Update Item Content privilege is required for replacing text.

To search for text in items:

  1. Select Edit | Find | In Files.

  2. In the Find What field, enter a search string.

  3. Limit the items to search by doing any of the following:

    • To search only items in a folder, in the In Project Folder field, enter a folder name.

    • To search only items related to a particular request, click the Advanced button, and in the Related Request field, enter a request specification.

    • To search only items in a particular design part, in the Related Design Part field, enter a design part specification.

  4. To further limit the items to search, set values in the remaining controls in this dialog box. For more information about the controls, click the Help button.

  5. Click the Find button.

  6. In the Find in Files Results dialog box, select one or more items.

  7. To display the selected items in a content window, click the New Window button.

  8. To close the Find in Files Results dialog box, click the Close button.

To search and replace text in items:

  1. Select Edit | Find | In Files.

  2. In the Find What field, enter a search string.

  3. Select the Replace with checkbox and enter the replacement string in the field.

  4. Limit the items to search by doing any of the following:

    • To search only items in a folder, in the In Project Folder field, enter a folder name.

    • To search only items related to a particular request, click the Advanced button, and in the Related Request field, enter a request specification.

    • To search only items in a particular design part, in the Related Design Part field, enter a design part specification.

  5. In the Comment on extract field, enter the reason for the text replacement.

  6. Click the Find button. The Find in Files Results dialog box shows the items in which text was replaced. The revision numbers of the items are changed according to your process model rules.

Back to top

See also: