---
schema_version: "1"
id: 8d99e8221e466b6a24b455d7c1b0d6b714cd7b3bcb1d2a024232248f7a0b9d88
title: CommunitiesSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_communitiessettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_communitiessettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b088616e0d241b7d834b046171914e88a2e4f4c374b7b9cab98765320437bc0e
description: Represents community settings for an org. Enable digital experiences and workspaces. Manage moderation, guest user and partner settings, and more. This type extends the Metadata metadata type and inherits its fullName field.
---
# CommunitiesSettings

Represents community settings for an org. Enable digital experiences and workspaces. Manage moderation, guest user and partner settings, and more. 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

CommunitiesSettings values are stored in the Communities.settings file in the settings folder. The .settings files are different from other named components, because there’s only one settings file for each settings component.

## Version

CommunitiesSettings components are available in API version 47.0 and later.

## Fields

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, applies the Experience Cloud
                site login page type (default, Login Discovery, Experience Builder, or Visualforce)
                to all Embedded Login implementations. When <samp class="codeph nolang">false</samp>, applies the username and password login page type to all Embedded
                Login implementations.<p class="p">For orgs created before the Salesforce Summer ‘20 release,
                  the default setting is <samp class="codeph nolang">false</samp>. For new orgs,
                  the default setting is <samp class="codeph nolang">true</samp>. Available in API
                  version 49.0 and later.</p>
              </td>


            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, blocks redirects to unknown
                URLs that are provided in the state parameter of the OAuth response during a
                server-side callback. Redirects are allowed when the URL is in the same host or
                domain as the site, or is allow-listed in the Embedded Login
                salesforce-allowed-domains meta tag. When <samp class="codeph nolang">false</samp>, all redirects are allowed. <p class="p">For orgs created before the
                  Salesforce Summer ‘21 release, the default setting is <samp class="codeph nolang">false</samp>. For new orgs, the default setting is <samp class="codeph nolang">true</samp>. Available in API version 52.0 and
                  later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows moderation features,
                such as flags and rules, to be set on all feed posts including posts that are
                visible in Experience Cloud sites. When set to <samp class="codeph nolang">false</samp>, only feed posts in sites can be moderated. Default is <samp class="codeph nolang">false</samp>.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows moderation features,
                such as flags and rules, to be set on record feed posts created by internal users.
                Such posts can also be visible in multiple sites. Default is <samp class="codeph nolang">false</samp>.</td>


            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows links to Visualforce
                pages from other Visualforce pages in Salesforce via the API. Default is <samp class="codeph nolang">false</samp>. Available in API version 48.0 and
                later.</td>


            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows admins to enable
                Experience Workspaces. Available in API version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows users to see contacts
                from private accounts that they have read access to, when the contact is controlled
                by the parent record. Available in API version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows customer users to access
                notes and attachments associated with accounts and contacts. Available in API
                version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows admins to enable partner
                users. Available in API version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, enables the External Account
                Hierarchy object. Available in API version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">Deprecated in API version 63.0 and later. When <samp class="codeph nolang">true</samp>, allows admins to set a default owner for records created by guest
                users. Available in API version 48.0 through 63.0.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, guest user visibility can be
                turned off. Available in API version 49.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows guest users to be
                invited to use Chatter. Available in API version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows external users in
                Experience Cloud sites, with permission, to run reports. Available in API version
                48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows users to enable digital
                experiences. Available in API version 47.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows use of standard external
                profiles for self-registration and user creation. Available in API version 48.0 and
                later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, hides badges from guest users
                in Experience Builder sites. Available in API version 53.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows users with Customer
                Community Plus licenses to change case status. Available in API version 48.0 and
                later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, enables Account Relationship
                object and Account Relationship Data Sharing Rule setup options. Available in API
                version 48.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, allows editing for partner
                account fields on and opportunities and leads. Available in API version 48.0 and
                later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, warnings about unsupported
                browsers are displayed in Experience Cloud sites. Available in API version 48.0 and
                later.</td>

            </tr>

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

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

              <td class="entry" headers="d253388e108" data-title="Description">When <samp class="codeph nolang">true</samp>, username uniqueness is set at
                the org level. Available in API version 48.0 and later.</td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a CommunitiesSettings component.

<CommunitiesSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <canModerateAllFeedPosts\>true</canModerateAllFeedPosts\>
    <canModerateInternalFeedPosts\>true</canModerateInternalFeedPosts\>
</CommunitiesSettings\>

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

<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types\>
<members\>Communities</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).