Skip to main content

Code search

The code search screen allows you to search for keywords throughout the code of your application. It will search in control procedures, templates, prefilters, calculated fields and validations.

menu Business logic > Code search

  1. Enter a Search string or select a previous search from the dropdown. The last 5 search strings are remembered (open the lookup for the details).

  2. If necessary, select search options:

    • Whole words only
    • Use wildcards (% , _ , [...-...] , [^...]) - Select this option and use wildcards in your search string for more complex searches. The tooltip explains what each wildcard means.
    • Extend search to generated objects
    • Extend search to generated code
    • Extend search to inactive code
  3. Execute the task Search code (Alt + S) search code and inspect the results.

  4. Optionally, you can collapse or hide search results hide search result that are not of interest to you. You can view hidden results by disabling the prefilter Hide hidden search results hide hidden search results, with the hidden items being displayed in italic. With the task Show search result show search result, you can include hidden items in the search results again.

    • When you execute a new code search, any previously hidden items that match the search string will be shown again.
  5. Optionally, execute one of the tasks that take you to a related screen for the selected search result. See Go to a related screen for an object.

    • These tasks are only available if the search result is in the group Control procedure, Template code or Program object generated code. For the Program object generated code group it also required that the search result concerns a program object that is connected to a model object. You cannot navigate to the Code overview screen for program objects such as create or upgrade scripts.
note

If control procedures or underlying templates are in development or review and you are not the responsible developer, hits are shown in red. Any hits on control procedure- or template code for inactive control procedures are shown in grey.

code search Code search


Was this article helpful?