I want to remove a column in the Delegates subpanel which is there in the SuiteCRM events module.
I know events delegates is linked to contacts , target list , leads,…etc.
I haved added a colmn to the delegates subpanel using leads subpanel meta data but when I removed a column(email1 or phone_work) it is not removing from the delegates subpanel and I tried by removing in modules/delegates/subpaneldefs.php as well. nothing workedout.
Actually, that second post makes it less likely that I will help. I usually browse the “No replies” search on the forums, and your second post removes your thread from that list
Did you try simply making the change from Studio, instead of from code?
To remove or add a field from/to the Events Delegates subpanel, you must modify the subpanels definition in each of the modules that make up the Delegates subpanel. These are Contacts, Leads, and Prospects.
For example, to add a field I find the subpanel definition file in the modules/Contacts/metadata/subpanels called FP_events_subpanel_fp_events_contacts.php. I then copy this file to custom/modules/Contacts/metadata/subpanels. I would then make the change to this file and repair/rebuild.
Do the same for the Leads file called FP_events_subpanel_fp_events_leads_1.php and the Prospects file called FP_events_subpanel_fp_events_prospects_1.php.
You should then see the change to the subpanel and your modification is upgrade safe.