SiteDomain is a read-only object, and a one-to-many replacement for the
Site.TopLevelDomain field. This object is available in API version 21.0, and has been
deprecated as of API version 26.0. In API version 26.0 and later, use the Domain and DomainSite objects
instead.
To access this object, Digital Experiences, Salesforce Sites, or Site.com must be enabled.
Supported Calls
describeSObjects(), query(), retrieve()
Special Access Rules
- Customer Portal users can’t access this object.
- To view this object, you must have the View Setup and Configuration permission.
Fields
| Field | Description |
|---|---|
| Domain |
|
| SiteId |
|
| DomainType |
|
Usage
Use this read-only object to query the domains that are associated with each site in your organization.