---
schema_version: "1"
id: 5b2e607d13cf334a1daa387a3be3a025042510c67f99c3f41ddd549b58bae8cf
title: PartyDataModelSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_partydatamodelsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_partydatamodelsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 002245948bcb24f1810aaab6ae00b2544bc8e19dc8b3d2f32fbde14b94b6a7e4
description: Represents an organization’s party data model settings, including options around the Individual object and consent enablement. This type extends the Metadata metadata type and inherits its fullName field.
---
# PartyDataModelSettings

Represents an organization’s party data model settings, including options around the Individual object and consent enablement. This type extends the Metadata metadata type and inherits its fullName field.

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

PartyDataModelSettingsPartyDataModel.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

PartyDataModelSettings

## Fields

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



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

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

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d734975e102" data-title="Field Name"><span class="keyword parmname">enableAutoSelectIndividualOnMerge</span></td>

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

              <td class="entry" headers="d734975e108" data-title="Description">Indicates whether the most recently modified data privacy record for the
                Individual is retained when merging lead, contact, and person accounts (<samp class="codeph nolang">true</samp>) or users must manually determine which data
                privacy record to retain during the merge process (<samp class="codeph nolang">false</samp>). This field has a default value of <samp class="codeph nolang">false</samp>.</td>

            </tr>

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

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

              <td class="entry" headers="d734975e108" data-title="Description">Indicates whether data protection details are available in records (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). This has a default value of <samp class="codeph nolang">true</samp>. <div class="box message info">
                  <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.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>Setting this field to <samp class="codeph nolang">false</samp> purges all data protection details, such as privacy preferences
                            and stored consent forms.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

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

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

              <td class="entry" headers="d734975e108" data-title="Description">Deprecated in API version 48.0 and removed in API version 49.0 and
                later.</td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a PartyDataModelSettings

<?xml version="1.0" encoding="UTF-8"?>
<PartyDataModelSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <enableAutoSelectIndividualOnMerge\>true</enableAutoSelectIndividualOnMerge\>
    <enableConsentManagementEnabled\>true</enableConsentManagementEnabled\>
</PartyDataModelSettings\>

The following is an example package.xml that references the previous definition.

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

## 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).