Newer Version Available
ActivitiesSettings
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’s 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 <enableRollUpActivToContactsAcct>true</enableRollUpActivToContactsAcct>
13 <enableRecurringTasks>true</enableRecurringTasks>
14 <enableUserListViewCalendars>true</enableUserListViewCalendars>
15 <enableSidebarCalendarShortcut>true</enableSidebarCalendarShortcut>
16 <meetingRequestsLogo>Folder02/logo03.png</meetingRequestsLogo>
17 <showCustomLogoMeetingRequests>true</showCustomLogoMeetingRequests>
18 <showEventDetailsMultiUserCalendar>true</showEventDetailsMultiUserCalendar>
19 <showHomePageHoverLinksForEvents>true</showHomePageHoverLinksForEvents>
20 <showMyTasksHoverLinks>true</showMyTasksHoverLinks>
21</ActivitiesSettings>Wildcard Support in the Manifest File
The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.