I should say at the start, I'm not very experienced with Communities.
I'm struggling to find a problem with retrieving the source of a Lightning Community as ExperienceBundle. I've activated the ExperienceBundle Metadata API setting in Communities Settings.
When looking though the Org Browser I can see the 2 Communities we have in the org, but downloading only ever retrieves one of them. I tried source:retrieve using -m and -p and both only for for one of the communities. I tried activating the setting and retrieving from multiple Sandboxes with the same problems.
Even though I can see the community listed in the ExperienceBundles in the OrgBrowser, if I tried to retrieve the result is "no results found". While doing the same for the other community does work.
The only difference I see is that the one community which I can retrieve is in "preview" and the one which I cannot is "active". But even after activating both communities, the same problem continues. The communities are both Lightning Community with the same Template. In the OrgBrowser view I can see that one of them is showing up as COMMUNITY_NAME1 (downloads ok) and COMMUNITY_NAME_C (doesn't download).
The below note in the docs makes me suspicuous, but I can't figure out whether that's the issue. The community I am able to download does indeed specifiy "ChatterNetworkPicasso" in the meta.xml file. But I'm not sure how to find out for the one I don't manage to download, whether that's the case. Anything that I can see seems to be the same for both the communities. (Site, Network, going though the builder and workspaces, ..)
Looking into retrieved sites, both the corresponsing sites have
The SiteDotCom meta file for the community looks like this
<?xml version="1.0" encoding="UTF-8"?> <SiteDotCom xmlns="http://soap.sforce.com/2006/04/metadata"> <label>COMMUNITY_NAME</label> <siteType>ChatterNetworkPicasso</siteType> </SiteDotCom>
Any ideas on what I am missing?