Modifying Calendar Dashlet to show activities of a group, instead of current user.

Hello. I’d like to know how to set the Calendar Dashlet to list the activities of a group, instead of just the current user. I know that by editing the following line in CalendarDashlet.php:

$cal->add_activities($GLOBALS['current_user']);

I can control what is displayed on the dashlet, however I don’t know what variable name to use to display a particular security group. Can somebody help me? Thanks!

Hi,

This is something that’s not possible out of the box with SuiteCRM. However, the full version of SecuritySuite may have what you are looking for.
The calendar section of the Feature page shows that you can view calendar items by group: https://www.sugaroutfitters.com/docs/securitysuite/features#calendar

However, if you don’t want the Full version of Security Suite, maybe the post found here: https://suitecrm.com/forum/suitecrm-7-0-discussion/4736-the-shared-calendar-does-not-filter-according-to-the-security-scheme-implemented#18102
could point you in the right direction in terms of using the Security Group fields in customizations.