AnsweredAssumed Answered

Auto populating data to new Contact from account

Question asked by Gabor Meszaros on Mar 8, 2018
Latest reply on Mar 12, 2018 by Gabor Meszaros

Hi All,

I use sugarcrm 7.9

I create new Contact. I would like to auto populating phone_fax of Account to new Contact.

I tried with this: SugarCRM: Populating fields using a Relate field « Sugar Developer Blog – SugarCRM 

I  created file ./custom/Extension/modules/Contacts/Ext/Vardefs/vardef.ext.php

with below content:


$dictionary['Contact']['fields']['phone_fax']['populate_list'] = array('id','name','phone_fax');

$dictionary['Contact']['fields']['phone_fax']['field_list'] = array('account_id_c','account_name','phone_fax');


After Quick Repair I got this:

What should I do more? (I would also like to fill phone fax to new contact)