Hi,
I really got confused and I definitely need some help:
from tutorial:
https://johndopenotes.wordpress.com/2013/03/18/sugarcrm-populating-fields-using-a-relate-field/
I have tried the above tutorial but it doesn’t work. (Will this work in suitecrm?)
I might be missing something. I want to discuss it one by one so I will be able to trace what I have been missing.
$dictionary[’<MODULE_NAME>’][‘fields’][’<RELATE_FIELD>’][‘populate_list’] = array(‘name’, ‘id’, ‘<FIELD_FROM_RELATED_MODULE>’);
$dictionary[’<MODULE_NAME>’][‘fields’][’<RELATE_FIELD>’][‘field_list’] = array(‘account_name’, ‘account_id_c’, ‘<FIELD_TO_POPULATE>’);
Scenario: when a contact is selected in a relate to field, it should be able to populate/display the mobile information of the contact in a custom field within the meeting.
$dictionary[‘Meeting’][‘fields’][‘parent_name’][‘populate_list’] = array(‘parent_name’, ‘id’, ‘contacts_cstm’);
$dictionary[‘Meeting’][‘fields’][‘parent_name’][‘field_list’] = array(‘parent_name’, ‘id_c’, ‘contact_mobile_c’);
Please help…