function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dhiraj ChawlaDhiraj Chawla 

How to find a particular contact without knowing Contact ID

Hi All,

I am developing a desktop application, inside which I want to invoke Salesforce UI using a OCX browser controller. Till now this is working for me. Now what I wanted to is display the Contact details of a particular Contact whose Phone Number or Email I get from the server to which my application will be talking.

I wanted to know if there is way, I can display the Contact details of based on the Phone Number or Email I get? All I can do with the OCX browser controller is create a url string, which I can pass to the OCX browser controller to open that URL. So is there a way I can search a particular Contact and open its details page based on a constructed URL using the Contacts Phone or Email?

Any suggestion on this would be very much appreciated.

select name from contact where email = <email> or Phone = <phone>