How Siebel CRM Handles Wildcard Search
You can explicitly include a wildcard (*
) in a
search string, for example, as follows: ABC*"
or "*ABC?"
. You can also use the AutomaticTrailingWildcards
application configuration parameter and AutomaticWildcardSearch system
preference to control whether a wildcard is automatically appended
(and prepended in the case of AutomaticWildcardSearch) to a search
string.
AutomaticTrailingWildcards Application Configuration Parameter
Siebel CRM appends a trailing wildcard if all of the following conditions are true:
The search string does not contain any wildcard. For example:
"ABC"
.The equal sign (
=
) does not precede the search string.The AutomaticTrailingWildcards parameter in the InfraUIFramework section of the application CFG file is set to
TRUE
or does not exist. The uagent.cfg file is an example of an application CFG file.If AutomaticTrailingWildcards is set to
TRUE
(the default value), then Siebel CRM automatically appends a trailing wildcard or adds aLIKE
predicate. If you use a script, and if this script creates a query, then Siebel CRM adds aLIKE
statement to the SQL that this script creates.If AutomaticTrailingWildcards is set to
FALSE
, then Siebel CRM does not automatically append a trailing wildcard or add aLIKE
predicate.
Wildcards are handled differently when you perform a wildcard search in a popup applet using either the filter search fields or the Query button as follows:
Filter search fields. In this case, searching for
*Ave
returns all records containing *Ave, for example, as follows:Eight Ave Gourmet Market Fourth Ave. Grocery Gourmet Market 5th Ave
In this instance, a trailing wildcard (*) is appended to the search string.
Query button. In this case, searching for
*Ave
returns only records ending with *Ave as follows:Gourmet Market 5th Ave
In this instance, a trailing wildcard (*) is not appended to the search string.
AutomaticWildcardSearch System Preference
Siebel CRM prepends and appends a trailing wildcard to a search string
if the AutomaticWildcardSearch system preference is set to TRUE
(the default value) or does not exist. AutomaticWildcardSearch
applies when using Siebel Find, including Advanced Find functionality,
and the Search Toolbar - it does not apply to Oracle Secure Enterprise
Search or Siebel applet search. For more information about AutomaticWildcardSearch,
see Siebel Search Administration Guide.