We are attempting to deploy a community (ExperienceBundle) through an Unlocked Second-Generation Package. The package will create fine but once we install it in an org, we get the following error message:
"(CommunityName) Required fields are missing: [ParentId], Details: CommunityName: Required fields are missing: [ParentId]"
I could also reproduce this with a minimum viable community that just has a tile menu and image.
I have looked through the metadata documentation for all of the required objects and cannot find a ParentId
field on anything (ContentAsset
, ExperienceBundle
, NavigationMenu
, Network
, SiteDotCom
, Site
etc.).
Has anyone been able to successfully deploy a community through unlocked packages?