Newer Version Available

This content describes an older version of this product. View Latest

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.