Activity Stream Dashlet Not working on Custom Module Record view Dashlets.

Hi Everyone,

I am facing an issue while enabling activity stream on record view dashlet for custom module. I have enabled activity streams on custom module by adding a file in Vardefs. After adding this code if I add dashlets on list view we are able to see all activities done on that module. But If I am adding "My Activity Stream" dashlet on record view in Intelligent Pane for custom module it is not showing any activities done on that record, even if we have activities performed to that specific record. I am just wondering is this a Bug or should I do something else to enable activity stream on record view for custom modules. Can someone suggest me how to resolve this. Thanks in Advance

Parents Reply Children
  • Hi Neeraja,

    Thanks for your inputs, I have tried adding a snippet of code in Custom/Extension/modules/ActivityStream/activities/Ext/Vardefs/activity_enabled.php as below.

    <?php
    $dictionary['Activity']['fields']['pro_Properties'] = array(
    'name' => 'pro_Properties',
    'type' => 'link',
    'relationship' => 'pro_Properties_activities',
    'source' => 'non-db',
    'vname' => 'LBL_PRO_PROPERTIES',
    );

    Here pro_Properties is my custom module name. I have added this code and performed QRR in Sugar Instance but not able to make it work. Could you please suggest me if I am going wrong in this code or something needs to be modified. Many Thanks in Advance.