Skip to main content
Hello everyone,

I need to have my lightning components work in a Salesforce community, both on the desktop and SF1 app and I was wondering if anyone had any insight on what was the best way to implement this. My community is a Salesforce Tab+visualforce page community. In this community type, does all lightning components need to be in a Visualforce page?

 
4 件の回答
  1. 2015年12月23日 19:46
    You simply need to add implements="forceCommunity:availableForAllPageTypes" to your apex:component tag.  This attribute lets community builder know that you'd like to add this lightning component to your communities template(s).

    You may need to do special work to get styles, static resources, and svg icons to work if needed, but other than that they work well with communities.
0/9000