You need to sign in to do that
Don't have an account?
Anu
Salesforce API search fails when the search string has "-"
Hi,
I am using sforce api 'Search' function to search leads and contacts based on their email address.
SearchResult sr = sfdc.search("find {" + searchString + "} in ALL fields returning lead(id),contact(id,accountid)");
If searchstring has "-" ex: anu@anu-company.com the search fails with malformed query error.
Is there a solution around this?
I am using C#.
Thanks in Advance,
Anu
see http://www.sforce.com/us/docs/sforce50/sforce_API_calls_SOSL.html#wp1455933