Use this dialog to find out in which LN software components an element, selected in the script editor, is used.
The search results are displayed in the Search view. Double-click a search result to open the corresponding script or library at the line where the result occurs.
Note:
- This dialog is only available for LN servers with Enterprise Server 8.7 or higher.
- The component you are searching for must exist. If the specified component does not exist, a message is displayed.
You can start this dialog from the shortcut menu in the script editor.
-
Activity
-
The activity in which you started the Application Search command.
-
Expression / Component Name
-
The expression or component name you are searching for. The element that you selected in the script editor is automatically filled in.
-
Search in Scripts
-
If this option is selected, the expression or component name is searched in the scripts/sources of the component types specified in the Component Types field.
-
You can perform the search in these component types:
- Sessions
- Functions
- Tables
- Reports
- Libraries
-
Search as
-
The component type you want to search for.
-
The expression or component name is searched in all parts of the component types specified in the Component Types field.
-
Allowed values
-
Value |
Description |
Message |
The search process searches only for messages.
You can perform the search in these component types:
- Sessions
- Functions
- Tables
- Reports
- Libraries
- Domains
- Report Designs
- BFlow components
- Workbenches
|
Question |
The search process searches only for questions.
You can perform the search in these component types:
- Sessions
- Functions
- Libraries
- BFlow components
|
Session |
The search process searches only for sessions.
You can perform the search in these component types:
- Sessions
- Functions
- Libraries
- BFlow components
- Menus
|
BFlow Component |
The search process searches only for BFlow components.
You can perform the search in BFlow components. |
Table/Field |
The search process searches for tables or table fields. The type of search depends on the length of the component name you specify in the Expression / Component Name field:
- If you specify 8 characters or less, the search process searches for tables.
- If you specify more than 8 characters, the search process searches for table fields.
You can perform the search in these component types:
- Sessions
- Functions
- Tables
- Reports
- Libraries
- BFlow components
|
Library |
The search process searches only for libraries. You can perform the search in these component types:
- Sessions
- Reports
- Functions
- Libraries
- Report Designs
- Menus
This option is only available if it is supported by the LN server. |
Label |
The search process searches only for labels. You can perform the search in these component types:
- Sessions
- Reports
- Functions
- Libraries
- Report Designs
- Workbenches
- Menus
- Domains
This option is only available if it is supported by the LN server. |
-
The search process performs the same search actions as the "Print Where Used" sessions on the LN server. The search results are displayed in the Search view.
-
Note: This option is only available for LN servers with Enterprise Server 10.3 or higher.
-
Component Types
-
The component types in which the search is performed.
-
Package Selection
-
The packages in whose components the search must be performed.
-
Options
-
-
Extended regular expression
-
If this check box is selected, the search will use the specified regular expression.
-
A regular expression is a pattern used to match or find specific text in a string. The following special characters can be used in regular expressions to define patterns for text matching:
Special character |
Description |
^ |
The end of the line |
. |
Any character |
* |
Takes the previous character 0 or more times |
\\ |
Takes the following special character literally |
[] |
One of the characters between [ ] |
[^] |
Any character except the characters after ^ |
{m} |
The previous character exactly m times |
-
Case sensitive
-
If this check box is selected, the search will distinguish uppercase from lowercase letters.
-
Include expired components
-
If this check box is selected, the search process will also search in expired components.
-
Exclude comment lines
-
If this check box is selected, the search process will not search in comment lines.
-
Range
-
-
From/To
-
The range of components in which the search must be performed.
-
The package code must be omitted. The specified code must start with a module code. For example, you want to search in components in the com module in the tc package. Select tc in the Package Selection field, and specify this range:
From |
To |
com |
comzzzzzzzzzzzzzzzzz |