Searching data models

In the Search window, the Data Model Search page allows you to search data model resources. You can also use this page to find and replace object name, label, documentation, or abbreviation strings.

About this task

Using the Data Model Search page, you can search for text that is contained in the name, label, documentation, or abbreviation of any object within a data model resource.

Procedure

To search a data model:

  1. Select a data model in the Data Project Explorer, and click Search > Search from the tool bar menu.
  2. In the window that opens, click the Data Model Search tab.
  3. Specify options for the search:
    Object with name
    Specify the expression that you want to search. You can search for object names, labels, documentation, and abbreviations. Use the following wildcards to narrow the scope of the search:
    • "*" matches any set of characters, including the empty string
    • "?" matches for any character
    • "\" is the escape for a literal; if you want to search for an asterisk, question mark, or backslash character, type a backslash before it to indicate that you are not using these characters as wildcards (e.g., "\*", "\?", or "\\")
    Case sensitive
    Select this option if you want the text search to be case sensitive.
    Regular expression
    Select this option if you want to search using a regular expression. The regular expression that you enter is checked for syntax errors.
    Search For
    Select one or more properties for which you want to search. You can search for strings in the Name, Label, Documentation, or Abbreviation properties of data objects
    Scope
    Specify the scope of your search. You can search the whole workspace, pre-defined working sets, previously selected resources, or projects enclosing the selected resources.
  4. Optional: Click Replace to find a string in an object name and replace it with another string.
    Restriction: You can only replace strings in properties that can be searched: names, labels, documentation, or abbreviations.

Results

The search results are listed in the Search view.

What to do next

Double-click an object that is listed in the Search view to highlight the object in the Data Project Explorer.

Feedback