Newer Version Available
ActivitiesSettings
Represents an organization’s activity settings, and its user interface settings for the calendar. Use the ActivitiesSettings component type to control the following activity settings:
- Configure group and recurring tasks, recurring and multiday events, and email tracking
- Relate multiple contacts to tasks and events (shared activities)
- Display custom logos in meeting requests
Also use the ActivitiesSettings component type to control user interface settings for the calendar, including hover links and drag-and-drop editing.
In the package manifest, all organization settings metadata types are accessed using the “Settings” name. See Settings for more details.
File Suffix and Directory Location
ActivitiesSettings values are stored in the Activities.settings file in the settings directory. The .settings files are different from other named components because there is only one settings file for each settings component.
Version
ActivitiesSettings is available in API versions 28.0 and later.
Fields
Settings for all types listed below are controlled on the Activity settings page or the User Interface settings page as noted.
| Field Name | Field Type | Description |
|---|---|---|
| boolean | ||
| enableActivityReminders | boolean | Enables popup activity reminders for an
organization. Administrators control this field on the Activity settings page. |
| enableClickCreateEvents | boolean | Lets users create events in day and weekly calendar views by
double-clicking a specific time slot and entering the details of the
event in an overlay. Hovering over an event displays an overlay
where users can view the event details or delete the event without
leaving the page. Administrators use a mini page layout to configure
the fields shown in the overlays. Does not support recurring events
or multi-person events. Administrators control this field on the User Interface settings page. |
| enableDragAndDropScheduling | boolean | Lets users create events associated with records by dragging a
record from a list view onto a calendar view and entering the
details of the event in an overlay. Hovering over an event displays
an overlay where users can view the event details or delete the
event without leaving the page. Administrators use a mini page
layout to configure the fields shown in the
overlays. Administrators control this field on the User Interface settings page. |
| enableEmailTracking | boolean | Enables tracking of outbound HTML emails if an organization uses
HTML email templates. Administrators control this field on the Activity settings page. |
| enableGroupTasks | boolean | Lets users assign independent copies of a new task to multiple
users. Administrators control this field on the Activity settings page. |
| enableListViewScheduling | boolean | Extends the functionality of
enableDragAndDropScheduling and
enableClickCreateEvents to list view
calendars. Administrators control this field on the User Interface settings page. |
| enableMultidayEvents | boolean | Enables creation of events that end more than 24 hours after they
start. Administrators control this field on the Activity settings page. |
| enableRecurringEvents | boolean | Enables creation of events that repeat at specified
intervals. Administrators control this field on the Activity settings page. |
| enableRecurringTasks | boolean | Enables creation of tasks that repeat at specified
intervals. Administrators control this field on the Activity settings page. |
| enableSidebarCalendarShortcut | boolean | In the sidebar, displays a shortcut link to a user’s
last-used calendar view. Administrators control this field on the Activity settings page. |
| enableSimpleTaskCreateUI | boolean | Allows administrators to specify whether tapping New Task in
Salesforce opens a regular task record edit page or a page that
displays key task fields first. Administrators control this field on the Activity settings page. |
| enableUNSTaskDelegatedToNotifications | boolean | On the Activity settings page, exposes a setting for administrators to hide or show a user setting that lets individual users enable or disable email notifications when tasks are assigned to them. |
| meetingRequestsLogo | string | Available when showCustomLogoMeetingRequests
is enabled. Uploads a custom logo. An administrator can select only
a logo that has been uploaded to certain folders in the Documents
tab. Administrators control this field on the Activity settings page. |
| showCustomLogoMeetingRequests | boolean | Displays a custom logo in meeting request emails and on a
meeting’s Web page. Invitees see the logo when a user either
invites them to an event or requests a meeting. Administrators control this field on the Activity settings page. |
| showEventDetailsMultiUserCalendar | boolean | Displays event details on-screen rather than in hover
text. Administrators control this field on the Activity settings page. |
| showHomePageHoverLinksForEvents | boolean | In the calendar section of the Home tab:
Administrators use a mini page layout to configure the fields shown in the overlay. Administrators control this field on the User Interface settings page. |
| showMyTasksHoverLinks | boolean | In the My Tasks section of the Home tab and on the calendar day view:
Administrators use a mini page layout to configure the fields shown in the overlay. Administrators control this field on the User Interface settings page. |
Example Package Manifest
The following is an example package manifest used to deploy or retrieve the Activity settings metadata for an organization:
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>Activities</members>
5 <name>Settings</name>
6 </types>
7 <version>28.0</version>
8</Package>Declarative Metadata Sample Definition
The following is an example of an activity settings file:
1<?xml version="1.0" encoding="UTF-8"?>
2<ActivitiesSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <enableActivityReminders>true</enableActivityReminders>
4 <enableClickCreateEvents>true</enableClickCreateEvents>
5 <enableDragAndDropScheduling>true</enableDragAndDropScheduling>
6 <enableEmailTracking>true</enableEmailTracking>
7 <enableGroupTasks>true</enableGroupTasks>
8 <enableListViewScheduling>true</enableListViewScheduling>
9 <enableMultidayEvents>true</enableMultidayEvents>
10 <enableRecurringEvents>true</enableRecurringEvents>
11 <enableRecurringTasks>true</enableRecurringTasks>
12 <enableSidebarCalendarShortcut>true</enableSidebarCalendarShortcut>
13 <meetingRequestsLogo>Folder02/logo03.png</meetingRequestsLogo>
14 <showCustomLogoMeetingRequests>true</showCustomLogoMeetingRequests>
15 <showEventDetailsMultiUserCalendar>true</showEventDetailsMultiUserCalendar>
16 <showHomePageHoverLinksForEvents>true</showHomePageHoverLinksForEvents>
17 <showMyTasksHoverLinks>true</showMyTasksHoverLinks>
18</ActivitiesSettings>