Skip to main content

Posts

Showing posts with the label custom-fields

ADD CUSTOM FIELD TO SUGARCRM

Create custom/Extension/modules/{module_name}/Ext/Vardefs/Vardefs.php  Here play with dictionary array and define fields accordingly Create file custom/Extension/modules/{module_name}/Ext/Language/en_us.{custom_modulename}.php This is a language file and you have to define variable that actually displays a label, here you have to use modstring array. Create file custom/modules/{module_name}/metadata/detailviewdefs.php place your cusotm fields here if you want to display those fields in detail view of that module. Create file custom/modules/{module_name}/metadata/editviewdefs.php Place your fields here if you want to show these fields in edit view