The SugarCRM Community is now "read-only" to prepare for the SugarClub launch on August 3. Please visit
Announcing SugarClub - Are you in? for more information.
I want to delete CRM Default Fields From Default modules.
How to achieve this can anybody guide me for the same.
SugarCRM Version 6.x
Please you can try below code custom/Extension/modules/Contacts/Ext/Vardefs/sugarfield_phone_fax.php
<?php // created: 2016-11-12 10:33:58$dictionary['Contact']['fields']['phone_fax']['comments']='Contact fax number';$dictionary['Contact']['fields']['phone_fax']['merge_filter']='disabled';$dictionary['Contact']['fields']['phone_fax']['studio'] =false;$dictionary['Contact']['fields']['phone_fax']['importable'] =false;$dictionary['Contact']['fields']['phone_fax']['reportable'] =false;$dictionary['Contact']['fields']['phone_fax']['exportable'] =false; ?>
Offshore Evolution Pvt Ltd
It is not a good approach to delete default fields from core module of sugar.
As some of the fields are inter dependent on other modules. So by default sugar wont allow us to do that.
If you want to do then remove it from layout to do as: from Studio > Module > Layouts > Edit/Detail/List View from here remove the field which you want and click on Save & Deploy.
Even you can do it from code: custom/modules/<your-module>/metadata/edit/detail/list viewdefs.php comment or remove the field which you wanted to remove.
Hope this Helps..!!
S Ramana Raju
Hi Ramana Raju Santhana
I agree with your suggestions but i want hide some fields from Reports modules as well as import & export views.
I have one field like contacts module phone_fax field which is not to be displayed anywhere in CRM
eg. Reports, Import, Export, Workflow.
Hello Offshore Evolution
Thanks its working.
I too agree with Ramana Raju Santhana
Retrieving data ...