Configure Find and Replace in ICML content
Enable string replacements in XML and ICML content.
Introduction
Module name "find_replace.content-find-replace"
censhare can browse XML and ICML content structures and perform string substitutions. The server action is applicable to normal content or content in content structures (CiC).
- A selection of a single asset or multiple assets can be searched at once.
- After a successful search, the result window opens.
- The search hits can be deselected separately by clicking the checkbox in front of the result.
- If you are satisfied with the results, click "OK" to confirm the changes which are then saved into a new asset version.
- Assets currently opened cannot be altered and are marked respectively.
The advantage is that assets to be changed do not have to be opened individually and a batch execution across multiple assets is possible.
Configuration
As an administrator, install the necessary transformations "XSLT search-and-replace-search-placed contents.censhare-assets" and "XSLT search-and-replace-search-self.censhare-assets" by using the asset import server action. Both are located on the server in the directory:
"censhare-Server/install/assets/required/search and replace"
Additional resource assets can be added with the resource usage "Search and replace content search" (key="censhare:search-and-replace-content-search"). So if users want to search for all content assets of a book asset, this can be provided by additional resource assets.

Setup: You only need to activate the checkbox in the top of the module.
Example
Search Mask: Access via the Server Actions menu. This specifies a search for regular expressions (only words).

Search results: Without the regex it can easily happen that not only words, but also sub-strings are replaced.

Search Results: Only with the use of regex in the search, the desired results are obtained.
