I'm trying to package and Enhanced LWR Experience Cloud Site, and I can see DigitalExperienceBundle is actually supported according to the Metadata Coverage Report. However, I'm still getting some errors on dependent metadata while trying to package it:
site/My_LWR1: Packaging is not supported for site workspaces
I couldn't really find any official documentation on whether this is supported (neither could Claude 😅).
Anyone having an official answer on this ?
Thank you !
cc
@* Experience Cloud *
Hi @Fabien Taillon - The metadata coverage report is misleading here. DigitalExperienceBundle being listed as supported refers to the bundle metadata itself, but the site workspace — which includes the runtime configuration, theme layout, and published state — is a separate concern that currently cannot be packaged.
The error you're seeing is accurate. Site workspaces are explicitly excluded from packaging support even when the underlying DigitalExperienceBundle deploys cleanly. This is a known gap that hasn't been formally documented well, which is why it's hard to find an official answer.
In practice most teams handle this by packaging the LWC components, custom objects, and other dependent metadata in the unlocked package, then deploying the Experience Cloud site separately via the Metadata API or a scratch org snapshot outside the package boundary. It's not ideal but it's the only reliable path right now.
If you need this officially confirmed, your best source would be a Salesforce support case rather than documentation — the support team can give you a written confirmation of current packaging limitations for Enhanced LWR sites, which also gives you something to reference if the behavior changes in a future release.
Would be curious if others on the thread have found a workaround that keeps the site fully within the package boundary.