I’m trying to add some custom code for the Leads module by editing ‘detailviewdefs.php’ and ‘editviewdefs.php’. No matter what I put in here (or take out), the page displayed doesn’t change. I’ve tried wiping the cache, restarting the web service, etc.
It is like it is getting this info from somewhere else.
Make sure that the customisations that you are making are in the /custom/modules/Leads/metadata/ folder location.
Otherwise your changes may not be taken into consideration and won’t be upgrade safe.
If you are making changes in the folder specified above, Make sure that you run a Quick Repair & Rebuild before Clearing your Browser’s Cache.
Then, do a CTRL+F5 to refresh both Cache and the Page.
That was the issue. I was modifying the detailviewdefs.php file in the /modules/Leads/metadata folder and not the one in the /custom/modules/Leads/metadata folder.