Skip to main content
Mubashir Raja (LBA) 님이 #Trailhead에 질문했습니다
I'm stuck on the SOSL query challenge in trailhead. can't write the method.

cheers
답변 24개
  1. 2016년 2월 8일 오후 3:44
    Hello, 

    You have to create new lead reccord with last name = Smith and also convert it without opp to have a contact ! 

    public with sharing class ContactAndLeadSearch {

        public static List<List<SObject>> searchContactsAndLeads(string param){

        List<List<Sobject>> searchConLead = [FIND: param IN all fields returning Lead(FirstName, LastName),Contact(FirstName,LastName)];

        return (searchConLead);

       }

      }

    Hope it help :)