Giving links to recipients in Campaign Status page

sugarcrmdevelopers —  July 31, 2013
Greetings from Urdhva Tech!!

Interesting question asked today, would love to share its solution!

Question: When I check Campaign’s status, I see subpanel of Recipients to whom Message were Sent/Attempted, but I dont have a link to get to see their details!

Solution: Go to Studio > Campaigns > Subpanels > Message Sent/Attempted > Save and Deploy without changing anything..

Which will create a file under custom/modules/CampaignLog/metadata/subpanels/<some_name>.php

Open that up in an editor.. Replace following code for recipient_name

‘recipient_name’ =>
  array (
    ‘vname’ => ‘LBL_LIST_RECIPIENT_NAME’,
    ‘width’ => ‘14%’,
    ‘sortable’ => false,
    ‘default’ => true,
    ‘widget_class’ => ‘SubPanelDetailViewLink’,
    ‘target_record_key’ => ‘target_id’,
    ‘target_module_key’ => ‘target_type’,
    ‘parent_id’ => ‘target_id’,
    ‘parent_module’ => ‘target_type’,
  ),

That’s it! Refresh the view!

Follow us on twitter: @Urdhvatech

Contact us at contact@urdhva-tech.com for any services related to SugarCRM.