Search and replace text in items

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

Search for text in items

You can search for specific text that items in a project/stream contain.

To search for text in items:

  1. In the desktop client, select Edit > Find > In Files.

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

  3. Limit the items to search:

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

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

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

  4. To further limit the search, set values in the remaining controls in this dialog box.

  5. Click Find.

  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 New Window.

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

Back to top

Replace text in items

You can search and replace text in one or more items. To replace text, you need the Update Item Content privilege.

To search and replace text in items:

  1. In the desktop client, select Edit > Find > In Files.

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

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

  4. Limit the items to search:

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

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

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

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

  6. Click Find. The Find in Files Results dialog box displays the modified items. The items' revision numbers are changed according to your process model rules.

Back to top

See also: