In Sitecore XM Cloud, sharing a site across multiple headless tenants isn't supported out-of-the-box due to the isolated nature of tenants. However, there are a few alternatives depending on your specific requirements:
Key Points
SXA Shared Site:
- SXA’s Shared Site feature allows sharing of presentation and data sources within a single tenant.
- It does not support sharing across tenants by design, as tenants are meant to be isolated.
Restructuring the Tenant/Site Setup:
- If sharing site content across brands is essential, consider restructuring your tenant and site setup to group related sites under a single tenant.
- Example:
- Tenant (Brand):
- Site 1 (Microsoft)
- Site 2 (Apple)
- Tenant (Brand):
Item Cloning:
- For specific content sharing, you can use the item cloning feature to replicate content across sites within a tenant.
- This approach works well for small-scale content sharing.
Role-Based Access:
- Within a single tenant, you can create shared folders/sites and assign specific roles to users for access control.
Proposed Structure Example
Tenant A (Shared Site X):
- Site 1
- Site 2
- Shared Site X
Tenant B (Shared Sites X and Y):
- Site 3
- Site 4
- Shared Site Y
Tenant C (Shared Sites X, Y, and Z):
- Site 5
- Site 6
- Shared Site Z
Recommendations
- If restructuring tenants isn’t feasible, use item cloning or shared folders within a single tenant.
- For better long-term scalability and fewer manual steps, align the tenant/site structure with the requirements for content sharing at the planning stage.
- If sharing is minimal, item cloning may suffice without extensive rework.
This approach should help address your team’s need for shared sites across brands while adhering to Sitecore XM Cloud’s design principles.