---
schema_version: "1"
id: 1626fb81c966abf155097eeaee06e8afade8cf82d778e32551ace0a7cdab5bee
title: ActivitiesSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_activitiessettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_activitiessettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e48ac79e4d10d73074be0f4c1ee715f92c82a82c75b164ba91652ffd68b463b8
description: Represents an org's activity settings, and its user interface settings for the calendar. This type extends the Metadata metadata type and inherits its fullName field.
---
# ActivitiesSettings

Represents an org's activity settings, and its user interface settings for the calendar. This type extends the Metadata metadata type and inherits its fullName field.

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](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for 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.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d81320e124">Field Name</th>

              <th class="featureTableHeader  " id="d81320e127">Field Type</th>

              <th class="featureTableHeader  " id="d81320e130">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname" id="allow_shared_activities"><a name="allow_shared_activities"><!-- --></a>allowUsersToRelateMultipleContactsToTasksAndEvents</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">
                <span class="ph" id="allow_shared_activities_desc"><a name="allow_shared_activities_desc"><!-- --></a>This field indicates
                  whether Shared Activities is enabled. When the value is true,
                  allows users to relate multiple contacts to a task or event.
                </span>
                <div class="box message confirm" id="shared_activities_mdapi_note">
                  <a name="shared_activities_mdapi_note"><!-- --></a>
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png" alt="Important">
                        <div class="mediaBd">
                          <h4 class="mbs">Important</h4>
                          <p>Beginning with API v36.0, this field is read-only in all
                            versions of the API. You can’t change the value of this field.
                            Even though this field was updateable before Spring '16,
                            changing this field’s value wasn't supported and could have
                            resulted in an incorrect integration. If you have code in older
                            API versions that changes the value of this field, ensure that
                            you update that code to prevent any errors.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname" id="auto_relate_attendees"><a name="auto_relate_attendees"><!-- --></a>autoRelateEventAttendees</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">When users add attendees to
                events, events are automatically related to up to 50 contacts or one
                lead. An attendee is matched by their email address to a contact or
                lead. <p class="p">Admins control this field on the Activity Settings
                  page.</p>
                <p class="p">Available in API version 42.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableActivityReminders</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables popup activity reminders for an organization.<p class="p">Admins
                  control this field on the Activity Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableCalendarHomeLWC</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables Lightning Web Components for Calendar. Increases the
                default item limit in Calendar Home and applies styling enhancements
                to improve readability. <p class="p">Admins control this field on the Activity
                  Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableClickCreateEvents</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">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. Admins use a mini page layout to configure the
                fields shown in the overlays. Doesn’t support recurring events or
                multi-person events.<p class="p">Admins control this field on the User
                  Interface settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableDragAndDropScheduling</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">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. Admins use a mini page layout to
                configure the fields shown in the overlays.<p class="p">Admins control this
                  field on the User Interface settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableEmailTracking</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables tracking of outbound HTML emails if an organization uses
                HTML email templates.<p class="p">Admins control this field on the Activity
                  Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableFlowTaskNotifsViaApex</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">If Apex invokes Process Builder to create a task, determines
                whether an email is sent (<samp class="codeph nolang">true</samp>)
                or not (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableGroupTasks</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Lets users assign independent copies of a new task to multiple
                users.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableHideChildEventsPreference</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables hiding child events from the calendar or activity views.
                This setting is useful if you have complex event hierarchies and
                want to simplify the views by hiding less relevant details. This
                field is available in API version 50.0 and later.<p class="p">Admins control
                  this field on the Activity Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableListViewScheduling</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Extends the functionality of
                <span class="keyword parmname">enableDragAndDropScheduling</span> and
                <span class="keyword parmname">enableClickCreateEvents</span> to list view
                calendars.<p class="p">Admins control this field on the User Interface
                  settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableLogNote</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables the option to create and associate a note on an existing
                record.</td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableMLSingleClientProfile</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enable creating a client profile using machine learning. When
                this setting is enabled, Salesforce uses machine learning algorithms
                to analyze and consolidate client data, providing a more
                comprehensive client profile. This can help sales and service teams
                to better understand their clients and provide more personalized
                interactions. This field is available in API version 50.0 and
                later.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableMultidayEvents</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables creation of events that end more than 24 hours after they
                start.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableRecurringEvents</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables creation of events that repeat at specified
                intervals.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableRecurringTasks</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables creation of tasks that repeat at specified
                intervals.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableRollUpActivToContactsAcct</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Enables a contact’s activities to be rolled up and
                displayed on the contact’s primary account. Default value is
                <samp class="codeph nolang">true</samp>.<p class="p">Available in API
                  versions 47.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableSidebarCalendarShortcut</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">In the sidebar, displays a shortcut link to a user’s
                last-used calendar view.<p class="p">Admins control this field on the Activity
                  Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableSimpleTaskCreateUI</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Allows admins to specify whether tapping New Task in Salesforce
                opens a regular task record edit page or a page that displays key
                task fields first.<p class="p">Admins control this field on the Activity
                  Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableTimelineCompDateSort</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Allows admins to sort past activities by completed date (<samp class="codeph nolang">true</samp>). If <samp class="codeph nolang">false</samp>, activities are sorted by due
                date.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableUNSTaskDelegatedToNotifications</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">On the Activity Settings page, exposes a setting for Admins to
                hide or show a user setting that lets individual users enable or
                disable email notifications when tasks are assigned to them.</td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">enableUserListViewCalendars</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Allows users to create and view user list view calendars in
                Lightning Experience. Available in API versions 47.0 and
                later</td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">meetingRequestsLogo</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">string</td>

              <td class="entry" headers="d81320e130" data-title="Description">Available when <span class="keyword parmname">showCustomLogoMeetingRequests</span>
                is enabled. Uploads a custom logo. An administrator can select only
                a logo that has been uploaded to certain folders in the Documents
                tab.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">showCustomLogoMeetingRequests</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">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.<p class="p">Admins control
                  this field on the Activity Settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">showEventDetailsMultiUserCalendar</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">Displays event details on-screen rather than in hover
                text.<p class="p">Admins control this field on the Activity Settings
                  page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">showHomePageHoverLinksForEvents</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">In the calendar section of the Home tab:<ul class="ul bulletList">
                  <li class="li">When a user hovers over the subject of an event, a hover
                    link displays an overlay with selected event details. (Hover
                    links are always available in other calendar views.)</li>

                  <li class="li">When a user clicks the subject of an event, displays the
                    event detail page.</li>

                </ul>
                <p class="p">Admins use a mini page layout to configure the fields shown
                  in the overlay.</p>
                <p class="p">Admins control this field on the User
                  Interface settings page.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d81320e124" data-title="Field Name"><span class="keyword parmname">showMyTasksHoverLinks</span></td>

              <td class="entry" headers="d81320e127" data-title="Field Type">boolean</td>

              <td class="entry" headers="d81320e130" data-title="Description">In the My Tasks section of the Home tab and on the calendar day view:<ul class="ul bulletList">
                  <li class="li">When a user hovers over the subject of a task, a hover link
                    displays an overlay with selected task details.</li>

                  <li class="li">When a user clicks the subject of a task, displays the task
                    detail page.</li>

                </ul>
                <p class="p">Admins use a mini page layout to configure the fields shown
                  in the overlay.</p>
                <p class="p">Admins control this field on the User
                  Interface settings page.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Example Package Manifest

The following is an example package manifest used to deploy or retrieve the activity settings metadata for an organization:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>Activities</members\>
        <name\>Settings</name\>
    </types\>
    <version\>28.0</version\>
</Package\>

## Declarative Metadata Sample Definition

The following is an example of an activity settings file:

<?xml version="1.0" encoding="UTF-8"?>
<ActivitiesSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <enableActivityReminders\>true</enableActivityReminders\>
    <autoRelateEventAttendees\>true</autoRelateEventAttendees\>
    <enableClickCreateEvents\>true</enableClickCreateEvents\>
    <enableDragAndDropScheduling\>true</enableDragAndDropScheduling\>
    <enableEmailTracking\>true</enableEmailTracking\>
    <enableGroupTasks\>true</enableGroupTasks\>
    <enableListViewScheduling\>true</enableListViewScheduling\>
    <enableMultidayEvents\>true</enableMultidayEvents\>
    <enableRecurringEvents\>true</enableRecurringEvents\>
    <enableRollUpActivToContactsAcct\>true</enableRollUpActivToContactsAcct\>
    <enableRecurringTasks\>true</enableRecurringTasks\>
    <enableTimelineCompDateSort\>true</enableTimelineCompDateSort\>
    <enableUserListViewCalendars\>true</enableUserListViewCalendars\>
    <enableSidebarCalendarShortcut\>true</enableSidebarCalendarShortcut\>
    <meetingRequestsLogo\>Folder02/logo03.png</meetingRequestsLogo\>
    <showCustomLogoMeetingRequests\>true</showCustomLogoMeetingRequests\>
    <showEventDetailsMultiUserCalendar\>true</showEventDetailsMultiUserCalendar\>
    <showHomePageHoverLinksForEvents\>true</showHomePageHoverLinksForEvents\>
    <showMyTasksHoverLinks\>true</showMyTasksHoverLinks\>
</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](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_settings.htm). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).

#### See Also

- [Document](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_document.htm "Represents a Document. All documents must be in a document folder, such as sampleFolder/TestDocument.")