function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sowjanya Hegde 13Sowjanya Hegde 13 

Lightning component on the community

Hi,

I have added lightning componenent on the Opportunity record page. It works fine. I want to show this component to partner user on community, that's why I have implemented with forceCommunity:availableForAllPageTypes. Also Partner user profile has the access to the Object which I'm using in the lightning component. Still that component is not showing for the Partner user in that record page in community. Please help!

ShivankurShivankur (Salesforce Developers) 
Hi Sowjanya,

Can you please check if you have provided Access to the controller Class for that lightning component to community user profile?

Also,ensure to re-publish your community if you make any changes to the record page in community.

Hope above information helps, Please mark as Best Answer so that it can help others in the future.

Thanks.