trailheadapps / az-insurance

Sample app that demonstrates how to build customer/partner/marketing experiences for Salesforce Experience Cloud and Lightning Web Runtime.
Creative Commons Zero v1.0 Universal
111 stars 98 forks source link

Channel not available #138

Open Jakhongiri2max opened 1 year ago

Jakhongiri2max commented 1 year ago

Summary

Hi. We have an Experience cloud LWR site, Enhanced CMS workspace, connected them each other. In site we can choose the content from CMS in LWC component (the ContentReference property) and get the content key. I tried to use the ManagedContentController class as is in our project, but calls to apex fails with error ConnectApiException with message "You don't have access to this channel". Can anybody point to solution or mistakes?

I have already spent 2 days on google and salesforce help searching.

Salesforce Org Type

Sandbox

Steps To Reproduce

No response

Current Behavior

No response

Expected Behavior

No response

Relevant Log Output

No response

Code of Conduct