Renaming Catalog Objects Working with the Properties of Catalog Objects

Configuring and Managing the Oracle BI Presentation Catalog 17-27 Figure 17–3 Sample XML Code for an Object To edit the XML description of an object, which is not recommended: 1. In Catalog Manager, open the catalog.

2. Navigate to the object.

3. Right-click the object in the Name column and select Properties.

4. Click Edit XML, then Edit.

5. Make the changes in the Object XML area.

6. Click OK in the Edit XML dialog.

7. Click OK in the Properties dialog.

Note: When you edit the XML description of an object, the catalog checks only that the XML is well-formed; it does not check for any other errors. 17-28 System Administrators Guide for Oracle Business Intelligence Enterprise Edition

17.8 Searching for and Replacing Catalog Text Using Catalog Manager

You can search for specific text in the catalog and replace it with other text using Catalog Manager. You can open the catalog in either online or offline mode. In offline mode, you can replace all objects. In online mode, you might be unable to replace certain objects, depending on your permissions. Specifically, you can search for and replace: ■ A simple text string using a dialog, as described in Section 17.8.1, Searching for and Replacing a Simple Catalog Text String. For example, suppose that an object contains the string My Misspeled Wirds. You can use Catalog Manager to search and replace that string with the proper text of My Misspelled Words. ■ Multiple or complex text strings all at the same time using an XML file, as described in Section 17.8.3, Searching for and Replacing Multiple Catalog Text Strings. For example, suppose that the administrator renames a subject area, a table, or column in the repository file. The table Sales might be renamed MySales. You can use Catalog Manager to search and replace all uses of that object throughout the catalog.

17.8.1 Searching for and Replacing a Simple Catalog Text String

Use the following procedure to search for a simple text string in the catalog and replace it with other text. To search for and replace a simple text string: 1. In Catalog Manager, open the catalog in either online or offline mode.

2. From the Tools menu, select XML Search and Replace.

3. In the Old text field, enter the text string to search for.

4. In the Replace with field, enter the replacement text.

5. To make the search case insensitive, deselect the Case Sensitive box.

6. Click OK.

17.8.2 About Searching for and Replacing Multiple Catalog Text Strings

You can perform more powerful search and replace operations on multiple catalog text strings all at the same time by importing a XML file that identifies each text string to search for and replace.

17.8.2.1 XML File Format for Searching for and Replacing Text Strings

In the search and replace XML file, you use an action element to identify each text string to search for and replace. The action elements are contained in a commands element. The action element has the following attributes: ■ command — Specifies the text to replace. The valid value is: ■ textReplace — Replaces all the text that matches in an XML file, such as a column name. ■ oldValue — Specifies the text string to search for.