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.
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 <autoRelateEventAttendees>true</autoRelateEventAttendees>
5 <enableClickCreateEvents>true</enableClickCreateEvents>
6 <enableDragAndDropScheduling>true</enableDragAndDropScheduling>
7 <enableEmailTracking>true</enableEmailTracking>
8 <enableGroupTasks>true</enableGroupTasks>
9 <enableListViewScheduling>true</enableListViewScheduling>
10 <enableMultidayEvents>true</enableMultidayEvents>
11 <enableRecurringEvents>true</enableRecurringEvents>
12 <enableRecurringTasks>true</enableRecurringTasks>
13 <enableSidebarCalendarShortcut>true</enableSidebarCalendarShortcut>
14 <meetingRequestsLogo>Folder02/logo03.png</meetingRequestsLogo>
15 <showCustomLogoMeetingRequests>true</showCustomLogoMeetingRequests>
16 <showEventDetailsMultiUserCalendar>true</showEventDetailsMultiUserCalendar>
17 <showHomePageHoverLinksForEvents>true</showHomePageHoverLinksForEvents>
18 <showMyTasksHoverLinks>true</showMyTasksHoverLinks>
19</ActivitiesSettings>