Activity Forums Salesforce® Discussions How can we access community in Lightning ?

  • Satyakam

    Member
    January 23, 2017 at 6:47 am

    Hi Mohit,

    Community Builder supports Lightning Components that use the forceCommunity:availableForAllPageTypes interface. So declare your component like this:

    <aura:component controller="MyController" implements="forceCommunity:availableForAllPageTypes">
    ...
    </aura:component>

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos