Adding a User Task Subpanel

sugarcrmdevelopers —  July 23, 2013

A question was recently asked on the SugarCRM forums on how to add a subpanel to a User detail view that shows all assigned Tasks for the user (http://forums.sugarcrm.com/f55/subpanel-users-assigned-tasks-87147). It’s actually a pretty simple process, although it requires custom code.

Steps:
1. Create custom/Extension/modules/Users/Ext/Vardefs/TasksVardefs.php (actual file name irrelevant)

2. Create custom/Extension/modules/Users/Ext/Language/en_us.Tasks.php (change file name as needed for your language)

3. Create custom/Extension/modules/Users/Ext/Layoutdefs/TasksLayoutdefs.php (actual file name irrelevant)

4. Quick Repair and Rebuild
5. Rebuild Relationships

Then you should see something like:

User Task Subpanel

User Task Subpanel