Filter

At various locations a filter can be set (and cleared) to drill down and refine your view:

chlimage_1-102

Find and Replace

In the Websites console a Find & Replace menu option lets you search for, and replace multiple instances of a string, within a section of the website.

  1. Select the root page, or folder, where you want the find and replace action to take place.

  2. Select Tools then Find & Replace:

    screen_shot_2012-02-15at120346pm

  3. The Find & Replace dialog does the following:

    • confirms the root path where the find action should start
    • defines the term to be found
    • defines the term that should replace it
    • indicates whether the search should be case-sensitive
    • indicates whether only whole words should be found (otherwise substrings are also found)

    Clicking Preview lists where the term has been found. You can select/clear specific instances to be replaced:

    screen_shot_2012-02-15at120719pm

  4. Click Replace to actually replace all instances. You will be asked to confirm the action.

The default scope for the find and replace servlet covers the following properties:

  • jcr:title
  • jcr:description
  • jcr:text
  • text

The scope can be changed using the Apache Felix Web Management Console (for example, at https://localhost:4502/system/console/configMgr). Select CQ WCM Find Replace Servlet (com.day.cq.wcm.core.impl.servlets.FindReplaceServlet) and configure the scope as required.

NOTE
In a standard AEM installation Find and Replace uses Lucene for the search functionality.
Lucene indexes string properties of up to 16k in length. Strings in excess of this will not be searched.

Experience Manager


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more