Searches objects specified in the softphone layout for a given string. Returns search results and the relative URL to be screen popped. Note that this method does not perform an actual screen pop. This method respects screen pop settings defined in the softphone layout. This method is only available in API version 28.0 or later.
This method is not available in the Open CTI API for Lightning Experience. To accomplish the same functionality in Lightning, use the deferred parameter available in the searchAndScreenPop() for Lightning Experience method.
Name
Type
Description
searchParams
string
String to search.
queryParams
string
Specifies the query parameters to pass to the URL.
callType
string
Specifies the type of call—inbound, outbound, internal, or null. Per the settings in the softphone layout, the call type determines which objects to search for any matches. If callType is null, searches are inbound by default. If callType is internal or outbound, no screen pops occur.
callback
function
JavaScript method executed when the API method call is completed.