SiteDotCom represents a site for deployment, including Site.com sites and supported Experience Cloud sites. It extends MetadataWithContent and inherits fullName and content. A complete component includes a .site content file and a companion .site-meta.xml descriptor; the descriptor's label and siteType alone do not represent the deployable site.
SiteDotCom is not interchangeable with CustomSite or Network. A Lightning site has separately named backing components, and an error mentioning SiteDotCom can involve one of those associated components rather than a missing content file.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The inherited metadata component name. For the SiteDotCom component created with a Lightning site, this is <site_name>1, distinct from the associated CustomSite name. |
content |
The inherited site content, represented by the .site file. Deploying only the XML descriptor does not supply the complete site. |
label |
The name of the site being deployed. It does not replace the component's metadata identity. |
siteType |
Required site classification. The documented SiteDotCom uses are ChatterNetworkPicasso for Experience Cloud sites and Siteforce for Site.com sites. The exposed enumeration also includes ChatterNetwork and Visualforce, but those values are not documented as SiteDotCom use cases. |
Behavior and Constraints
Site classification
For an Experience Cloud site represented by SiteDotCom, use the documented classification ChatterNetworkPicasso. Do not confuse it with ChatterNetwork, which classifies the associated CustomSite created for a Lightning site. For a Site.com site, the documented SiteDotCom classification is Siteforce.
The presence of ChatterNetwork and Visualforce in the exposed enumeration does not establish additional documented SiteDotCom deployment scenarios.
Lightning-site identity
Creating a Lightning site creates two backing sites with distinct names:
-
CustomSite: named
<site_name>, classified asChatterNetwork, with descriptor<site_name>.site-meta.xml. -
SiteDotComSite: named
<site_name>1, classified asChatterNetworkPicasso, with SiteDotCom files<site_name>1.siteand<site_name>1.site-meta.xml.
The appended 1 keeps the SiteDotComSite name unique from its associated CustomSite name. It is part of the component name, not an API version or revision indicator. This naming behavior applies to Lightning-site creation; it is not a rule for every Site.com asset.
Experience Builder template compatibility
Do not assume every Experience Builder template can be retrieved as SiteDotCom. A reported Build Your Own (LWR) retrieval failure points to ExperienceBundle instead. ExperienceBundle provides a text-based representation of site configuration and components; it is a different metadata representation, not another name for the SiteDotCom descriptor. See the template-specific report below.
Deployment and Retrieval
Files and manifest members
SiteDotCom components are stored in the siteDotComSites directory of the package. Include both the .site file and its .site-meta.xml companion. For a Lightning-created site named <site_name>, the SiteDotCom files use the distinct component name <site_name>1.
The SiteDotCom type supports the wildcard * in the package.xml manifest. Keep SiteDotCom member names separate from the names used for the associated CustomSite and Network components. Their association does not, by itself, establish a mandatory deployment sequence.
Sandbox-to-production asset limit
The assets in the .site file cannot exceed 40 MB when deploying a site from sandbox to production through Metadata API. If the limit is exceeded, the site can be created while its assets appear broken.
The documented remedy is to export the assets separately from the sandbox and import them into the new site. Changing only label or siteType does not address this content-size problem.
Missing-component and compatibility failures
A missing-SiteDotCom error is not conclusive evidence that the .site payload is absent. Reported failures have involved a missing CustomSite descriptor, missing Network metadata, and missing destination users in a site deployment. Diagnose the named components separately rather than treating CustomSite, SiteDotCom, and Network as interchangeable identities.
Source and destination Salesforce release differences can also affect acceptance of the site content independently of the descriptor's names. The change-set report below describes a destination that could not accept content from a newer source release.
Likewise, a stale lastModifiedDate is not conclusive evidence that retrieved site content is stale. A reported deployment with ExperienceBundle enabled included manually published changes newer than that timestamp. The report does not establish a universal requirement to enable or disable ExperienceBundle before retrieving SiteDotCom.
Relationships
Network is an incoming consumer of SiteDotCom through picassoSite. CustomSite is a separately named associated component, not an alternative identity for the SiteDotCom asset.
Referenced By
-
Network:picassoSite.
Name-Based Association
-
CustomSite: Lightning-site creation pairs<site_name>with the SiteDotCom component<site_name>1. This is a naming association, not an XML element reference or a deployment-order rule.
Reported Issues
-
A missing-SiteDotCom error can point to a missing CustomSite descriptor. In a 2022 unlocked-package case using ExperienceBundle, package creation errors named both PicassoSite and Network. The accepted diagnosis identified a missing
sitesentry containing the CustomSite metadata file. This is a diagnostic possibility, not a universal cause of those errors. Missing backing-site packaging report. - Build Your Own (LWR) retrieval can reject SiteDotCom even when Aura-template retrieval succeeds. In a 2022 report, the retrieval returned Aura-template SiteDotCom components but warned that Build Your Own (LWR) did not support that retrieval. The accepted answer directed the user to ExperienceBundle for that template. LWR retrieval discussion.
-
An old modification timestamp did not mean the deployed content was old. In a 2020 report with ExperienceBundle enabled, a SiteDotCom deployment to a sandbox included manually published changes newer than
lastModifiedDate. One contributor reported successful use while ExperienceBundle remained enabled; another recommended disabling it before retrieval. Neither establishes a universal requirement to change that setting. ExperienceBundle and timestamp discussion. - A destination on an earlier Salesforce release rejected the site content. A 2019 sandbox-to-production change-set report described this compatibility failure even though Network and SiteDotCom were included. The answer recommended waiting for the destination to be updated. This does not establish that every cross-release deployment fails. Destination-release compatibility report.
- Missing Network metadata can block both site components. In a 2016 migration report, deployment errors on the CustomSite and SiteDotCom files both named a missing Network. The accepted answer recommended retrieving and including the Network metadata. Missing Network deployment discussion.
- Unmatched destination users can block a site deployment independently of component names. In a 2019 Metadata API deployment containing Network, CustomSite, and SiteDotCom, the author reported resolving a user-matching error by creating or editing destination users to match the referenced usernames. The same report also required adding the separately named SiteDotCom member to the manifest. Site deployment and user-matching report.
Common Questions
Why does my SiteDotCom name end in 1?
When Salesforce creates a Lightning site, it names the CustomSite <site_name> and the SiteDotCom backing site <site_name>1 to keep their names unique. The suffix is part of the component name, not a revision number.
Why are my site assets broken after deployment to production?
One documented cause is exceeding the 40 MB asset limit in the .site file during a sandbox-to-production Metadata API deployment. The site can still be created. Export the assets separately from the sandbox and import them into the new site.
Why does deployment say no SiteDotCom was found when I use ExperienceBundle?
The error can involve associated metadata rather than a missing SiteDotCom payload. In the reported unlocked-package case, the accepted diagnosis was a missing CustomSite descriptor in the sites directory. Network is also a distinct component that references SiteDotCom through picassoSite.
Can I retrieve a Build Your Own LWR site as SiteDotCom?
The reported Build Your Own (LWR) retrieval rejected SiteDotCom while retrieving Aura-template sites successfully. The accepted answer directed the user to ExperienceBundle for the LWR template.
Does an old lastModifiedDate mean SiteDotCom content is out of date?
No. A reported sandbox deployment included manually published changes newer than the timestamp while ExperienceBundle was enabled. The timestamp alone is not conclusive, and the discussion does not establish that ExperienceBundle must always be disabled before retrieval.