Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
DomainType Enum
Specifies the domain type for a System.Domain.
Usage
Use the DomainType enum to obtain the type of a domain parsed through the System.DomainParser class.
Enum Values
The following are the values of the System.DomainType enum. These values only apply to Salesforce-hosted domains.
| Value | Description |
|---|---|
| CMS_DOMAIN | Content Management System (CMS) public channel domains. |
| CONTENT_DOMAIN | Domains that serve content (files) stored in Salesforce. |
| CUSTOMER_360_ADMIN_DOMAIN | Customer 360 Data Manager domains. |
| CUSTOMER_360_DOMAIN | Customer 360 Data Manager Admin domains. |
| EXPERIENCE_CLOUD_SITES_BUILDER_DOMAIN | Experience Builder for Experience Cloud sites domains. |
| EXPERIENCE_CLOUD_SITES_DOMAIN | Salesforce-hosted domains that serve Experience Cloud sites. |
| EXPERIENCE_CLOUD_SITES_LIVE_PREVIEW_DOMAIN | Experience Builder Live Preview domains. |
| EXPERIENCE_CLOUD_SITES_PREVIEW_DOMAIN | Experience Builder Preview domains. |
| LIGHTNING_CONTAINER_COMPONENT_DOMAIN | Lightning Container Component domains. |
| LIGHTNING_DOMAIN | Domains that serve Lighting pages. |
| ORG_MY_DOMAIN | My Domain login domains. |
| SALESFORCE_SITES_DOMAIN | Salesforce-hosted domains that serve Salesforce Sites. |
| SETUP_DOMAIN | The Salesforce-hosted domain that serves Setup pages. |
| VISUALFORCE_DOMAIN | Domains that serve Visualforce pages. |