CommunitiesSettings
Represents community settings for an org. Enable digital experiences and workspaces. Manage moderation, guest user and partner settings, and more.
In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for details.
This type extends Metadata and inherits its fields.
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.
Introduced in API version 47.0.
-
Type: boolean
-
Required: No
-
Introduced: API version 49.0
-
Description: When
true, applies the Experience Cloud site login page type (default, Login Discovery, Experience Builder, or Visualforce) to all Embedded Login implementations. Whenfalse, applies the username and password login page type to all Embedded Login implementations.For orgs created before the Salesforce Summer ‘20 release, the default setting is
false. For new orgs, the default setting istrue.
-
Type: boolean
-
Required: No
-
Introduced: API version 52.0
-
Description: When
true, 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. Whenfalse, all redirects are allowed.For orgs created before the Salesforce Summer ‘21 release, the default setting is
false. For new orgs, the default setting istrue.
- Type: boolean
- Required: No
- Description: When
true, 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 tofalse, only feed posts in sites can be moderated. Default isfalse.
- Type: boolean
- Required: No
- Description: When
true, 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 isfalse.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows links to Visualforce pages from other Visualforce pages in Salesforce via the API. Default isfalse.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows admins to enable Experience Workspaces.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows users to see contacts from private accounts that they have read access to, when the contact is controlled by the parent record.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows customer users to access notes and attachments associated with accounts and contacts.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows admins to enable partner users.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, enables the External Account Hierarchy object.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Version: Deprecated in API version 63.0 and later.
Available in API version 48.0 through 63.0.
- Description: When
true, allows admins to set a default owner for records created by guest users.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 49.0
- Description: When
true, guest user visibility can be turned off.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows guest users to be invited to use Chatter.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows external users in Experience Cloud sites, with permission, to run reports.
- Type: boolean
- Required: No
- Introduced: API version 47.0
- Description: When
true, allows users to enable digital experiences.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows use of standard external profiles for self-registration and user creation.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows users with Customer Community Plus licenses to change case status.
- Type: boolean
- Required: No
- Introduced: API version 53.0
- Description: When
true, hides badges from guest users in Experience Builder sites.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, enables Account Relationship object and Account Relationship Data Sharing Rule setup options.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, allows editing for partner account fields on and opportunities and leads.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, warnings about unsupported browsers are displayed in Experience Cloud sites.
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: When
true, username uniqueness is set at the org level.
The following is an example of a CommunitiesSettings component.
The following is an example package.xml that references the previous definition.
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.