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
Paula Jarvis 4Paula Jarvis 4 

SOSL Query Error Assistance

I need to write a SOSL query to look at the Contact Phone and then look up to a custom Account field called Market (Report_card_segment_c). Would someone please assist? I have this so far and I get an error.


 $search = 'FIND {' . $clid . '} IN PHONE FIELDS '.
  'RETURNING ACCOUNT(OWNER.PHONE)';
 
Paula Jarvis 4Paula Jarvis 4
This is the error message I get - "message":"","errorCode":"MALFORMED_SEARCH"}]