Using Opencti api do we have any mechanism of pass objectype(Contact, Lead, Account) as a search param with remote party to fetch the record inside the salesforce
Hey Anudeep, Thanks for your Time !! There I cannot able to pass the objectType as search param along with Phone number Like I will slight brief than, I want to search record against the phone number to the specific objectType like contact, there is there s option to do it
I understood your requirement. As far as I know, there isn't any standard Method in OpenCTI that serves your purpose
Note that when the searchAndScreenPop (or searchAndGetScreenPopUrl) method is called, Salesforce will perform a search looking for the search string among the objects specified in the Softphone Layout for every call type. We can specify, for every object, which fields we want to retrieve, but we can't specify upon which fields we want to make the search.
There is an existing Idea that I suggest taking a look at
Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you
I recommend leveraging searchAndScreenPop() for Lightning Experience
I understood your requirement. As far as I know, there isn't any standard Method in OpenCTI that serves your purpose
Note that when the searchAndScreenPop (or searchAndGetScreenPopUrl) method is called, Salesforce will perform a search looking for the search string among the objects specified in the Softphone Layout for every call type. We can specify, for every object, which fields we want to retrieve, but we can't specify upon which fields we want to make the search.
There is an existing Idea that I suggest taking a look at
Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you