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
-
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).
-
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
-
Execute the task Search code (Alt + S) and inspect the results.
-
Optionally, execute one of the tasks that can 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 either the Control procedure, Template code or Program object generated code group. 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.
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