Hi all,
Iāve created new modules based on Person and Account.
however when importing new emails they arenāt automatically added to the history of said objects ( email addresses are there )
I see them appear in the normal contact module to the correct person.
Anyone an idea how to fix/solve this ?
Iāve found also this posting : http://forums.sugarcrm.com/f6/unable-email-archive-custom-module-41916/
but that didnāt help me either.
1 Like
Found this forum post : http://forums.sugarcrm.com/f6/custom-module-email-archiving-88536/?title=custom+module+and+email+archiving#post306099
I modified it slightly so it said :
[hide]
'emails' =>
array (
'module' => 'Emails',
'subpanel_name' => 'ForHistory',
'get_subpanel_data' => 'function:get_emails_by_assign_or_link',
'function_parameters' => array('import_function_file' => 'include/utils.php', 'link' => 'fb_persoonrelaties_activities_emails'),//relationship is "emails"
'generate_select'=>true,
'get_distinct_data'=> true,
),
[/hide]
important is to check the ālinkā part in the relationship table.
Iāve made this changes in :
/custom/Extension/modules/FB_PersoonRelaties/Ext/Layoutdefs/fb_persoonrelaties_activities_calls_FB_PersoonRelaties.php
I donāt know if this is the correct place to do this, but itās working now. So if anyone knows the correct place to change/add this, let me know!