Newer Version Available

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

DomainSite

Read-only junction object that joins together the Site and Domain objects. This object is available in API version 26.0 and later.

To access this object, Salesforce Sites or Site.com must be enabled for your organization.

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.
  • Site.com Publisher users have read-only API access to the Domain and DomainSite objects.

Fields

Field Description
DomainId
Type
reference
Properties
Filter, Group, Sort
Description

The ID of the associated Domain.

This is a relationship field.
Relationship Name
Domain
Relationship Type
Lookup
Refers To
Domain
PathPrefix
Type
string
Properties
Filter, Group, Sort
Description
Shows where a site’s root exists on a domain. Can only be set for custom Web addresses. Always begins with a /.
SiteId
Type
reference
Properties
Filter, Group, Sort
Description

The ID of the associated Site.

This is a relationship field.
Relationship Name
Site
Relationship Type
Lookup
Refers To
Site

Usage

Use this read-only object to query or retrieve information about your Lightning Platform site.