Searching for Elements in a Business Space Version

When an application becomes large It is often necessary to find certain elements in a business space version – business objects, attributes, queries etc. It is also useful to know where a particular element of a business space version is used by other elements. The following “search” menu commands are available when you select a business space version and then either right click to bring up a popup menu or select one of the commands in the Version/Search group in the main menu.

  1. Search Version
  2. Search Rules
  3. Search Last Modified
  4. Find Element
  5. Unused Elements

This command searches the business space version for an occurrence of the specified string (which can be the name of some object, attribute, query etc). The results are displayed in the Search window. Each reference to the specified string is displayed as XML fragment, so that you can easily track down exactly where the reference is by going through the XML tree. The XML tree is quite straightforward and matches closesly to the structure of the business space version. You can also double click on the line and Aware IM will open the corresponding element.

note

as an alternative to this command you can select a particular element in the Configuration Tree and then select Find References command. However, this command will not search the entire version – for example, it will not search scripts and HTML. The Search Version command, on the other hand, will search everything (it is also faster).

The application that you configure may contain large number of rules so it is often necessary to find a particular rule. The Configuration Tool provides the feature that finds rules matching the specified criteria. You can search for rules implementing processes separately from rules attached to business objects.

To search for rules defined in a business space version specify the following options in the Search Rules Dialog:

  1. Tick the “Process rules” checkbox if you want to include rules implementing processes in the search.
  2. Tick the “Object rules” checkbox if you want to include rules attached to business objects in the search.
  3. Tick the “By rule name” checkbox if you want to search for rules that have the specified text in their names. You must also provide the text to filter by, whether you want the search for the names to be case sensitive and whether you want to match the rules with the names exactly equal to the specified text or containing the specified text anywhere inside.
  4. Tick the “By rule expression”checkbox if you want to search for rules that have the specified text anywhere in their textual expression. You must also provide the text to filter by, whether you want the search for this text to be case sensitive and whether you want to match rules with textual expressions exactly equal to the specified text or containing it anywhere inside.

The Configuration Tool will display the results of the search in the Search window. You can go directly to the rule editor by double clicking on the rule in the window.

This command allows you to search for elements which have been last modified before or after the specified date or within the specified period. The dialog that opens allows you to specify the period to search for and the results are displayed in the Search Window.

This command allows you to search for elements in the Configuration Tree whose names contain the specified string. If only one element is found, Aware IM immediately opens it. If there is more than one, it shows the list of found elements in the Search window and you can double click on the element to open it.

This command allows you to show all elements that are not referenced by any other elements. These elements are good candidates to be deleted from the version.

  • Last modified: 2022/09/13 18:15