Find and replace project attribute values

If you are an administrator or have permissions, you can search for and replace attribute values used in one or more project components without opening them. You can choose Replace All to change a term only when it appears inside an element tag as a value. Changes are then saved to the Inspire database. For more details on how an attribute value search works, read Finding project attributes to replace or report on.

Permission can't be blocked. A content owner or administrator can set permissions to deny access to components or folders. If your permissions to content has been blocked and you are not an administrator, you cannot use the Find and Replace option in the Selected Components pane.

Use supported components

  • If you choose a component that's locked ( by you, by another user, by the system) Inspire skips it and adds a warning to your notification.
  • If you choose a binary component, Inspire skips it and adds a warning to your notification.

If you want to use other find and replace options, follow the steps in:

To update attribute values in project content using find and replace:

  1. Click Projects_TopMenuOpt Projects.
  2. On the Project Management tab, all projects in your organization are listed. To find a specific project, you can:
    • Filter the list of available projects by words in the project name. In the Search text box, enter a keyword, and then click the magnifying glass search_button.
    • Filter the list of available projects to include only those you own or are participating in. In Type, select an option to filter the list by that criteria.
    • To include completed projects in the list, select Include Completed and then click the magnifying glass search_button.
  3. To open a project, select the project and double-click it.
    You can also open a project by:
    • Right-clicking the project and then selecting Open.
    • Clicking Action_Menu the Options menu and then selecting Open.
  4. In the Content pane, navigate to the folder where you've saved the project components you want to search in.
  5. To select components, do one of the following:
    • Select the checkbox before the name of the components you want to search in.
    • Select all components in a folder by selecting the checkbox at the folder level.

  6. On the Selected Components panel, click More menu options, and then click Find/Replace components.
  7. On the Find/Replace components screen, in Find, enter part or all of an attribute value. For example, MyFirstImage.png.
    You can also select text used in a previous search.
  8. In Replace, enter the new value exactly as you want it to appear. For example, MySecondImage.png.
    You can also select text used in a previous search.
  9. In Scope, select Attribute Values.
    This option does not search the element name itself (href), only the contents of the element ("MyFirstImage.png").
  10. In Attribute Names, select the attribute that would contain the value you are searching for. For example, href.
  11. Optionally, you can select the option to make your search Case Sensitive.
  12. Click Replace All.
    Result: You are asked to confirm that you want to replace text in the number of components you selected.

  13. Click Yes.
    Results:
    • You see a notification that a Replace All process has started.
    • After the process is complete, you see another notification.

    • The report tells you a number of times your search string appears in each components you selected.

    Tips and tricks

    After using Find and Replace to update content, Inspire updates the following information in the Components Browser and in the Component Details History tab:

    • Updated By
    • Updated Date
    • Last Updated By