SugarCRM: listview link for relate field

Open the file custom/modules/KEY_Module1/metadata/listviewdef.php

Replace the particualr field array with the below line

'FIELD_C' => 
  array (
    'type' => 'relate',
    'link' => 'key_module1_key_module2',
    'module' => 'KEY_Module1',
    'id' => 'FIELDNAME_C',
    'default' => true,
    'studio' => 'visible',
    'label' => 'LBL_FIELD',
    'width' => '10%',
    'related_fields' => array('fieldname_c'),  
),
Advertisements
SugarCRM: listview link for relate field

One thought on “SugarCRM: listview link for relate field

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s