I have created an apex class and lwc component. I have assigned profiles to the apex class for the access. In the lwc component, I have put lightningcommunity__page, lightningCommunity__Page_Layout, lightningCommunity__Default, lightning__AppPage, lightning__HomePage and lightning__recordpage as targets in js-meta.xml. In the salesforce org, the data is showing, however data is not showing in the experience cloud site. Can anyone please tell how I can solve this?
4 个回答
@Srinivasa Reddy Somu I have given read and edit permissions to the fields to the experience cloud profiles used in the experience site. In OWD, I have given Grant Access Using Hierarchies as well.