You need to sign in to do that
Don't have an account?
SOSL query problem while using search call
I am getting exception while trying to retrieve object details from Salesforce by passing mutilpe email IDs in search call query.
I tried with below two ways:
First try: binding.search("find {\"dummy1@priyanet.com\", \"dummy2@priyanet.com\" , \"dummy3@pryanet.com\"} in email fields returning contact(id, firstname, lastname),lead(id, firstname, lastname)";
Second try: binding.search("find {dummy1@priyanet.com, dummy2@priyanet.com, dummy3@pryanet.com} in email fields returning contact(id, firstname, lastname),lead(id, firstname, lastname)";
Is there any other way to get result. Please help me out.Its urgent.
I apprecialte if you provide any soulution.
Iam not even getting object details for single email id using search call:
binding.search("Find {\"dummy1@priyanet.com\"} IN EMAIL FIELDS RETURNING lead(id,FirstName,name,email), contact(id,FirstName,name,email)");