add company name to Contacts results when adding a new relationship o type One to Many.

When adding a relationship between Module X and Contacts we see only Fullname, in several cases multiple contacts share the same name.

I would like to customize these results that it would show also a custom field next to the fullname.

I have modified the file fullname.js for Contacts to include my field company_name also, and it worked as far as the record view of Contacts but in these search results the full name still appears to be only first + last name .

Parents
  • Hi

    Take a look at modules/Tasks/vardefs.php and search for field 'contact_name'. You will see that this field has attribute 'db_concat_fields'. It tells Sugar which fields must be concatenated on displaying at quick search dropdown.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Hi

    Take a look at modules/Tasks/vardefs.php and search for field 'contact_name'. You will see that this field has attribute 'db_concat_fields'. It tells Sugar which fields must be concatenated on displaying at quick search dropdown.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data