AnsweredAssumed Answered

How to Get ProspectList Related Beans

Question asked by Kelvin Uttih on Jul 21, 2016
Latest reply on Jul 21, 2016 by Pratima Peshwani

please can anyone help me with getting the records of a prospectList using the load_relationship function. 

 

$bean = new ProspectList();

$bean->retrieve($_REQUEST['id']);  

$bean->load_relationship('prospect_list_contacts');

$contacts = $bean->prospect_list_contacts->getBeans(); 

 

thanks.

Outcomes