When deploying a digital experience via Metadata API I am receiving the following error:

Content Detail pages host Salesforce CMS content. If you want content on the B2B_Pharma_Store1/views/newsDetail.json, add this site as a Salesforce CMS Channel. 

I do not want content on the newsDetail page. I do not even want that page yet when I delete it from the builder and publish, it is just readded automatically.

I have tried to add a CMS Channel however am unable to add a site channel.

  • Can you confirm you are following the steps from doc to add the site as channel and then adding the Content to the channel? Thanks Commented Jul 15, 2021 at 15:03
  • Did you find a workaround?
    – Robs
    Commented Aug 24, 2021 at 15:42
  • No I didn't. In the end I think I had to change the template. I can't really remember.
    – Luke Bray
    Commented Sep 17, 2021 at 16:20
  • @Robs did you found a solution?
    – dzh
    Commented Aug 30, 2022 at 17:11
  • 1
    Following steps listed by @Swetha fixed it for me!
    – dzh
    Commented Sep 7, 2022 at 8:49


You must log in to answer this question.