I am using community templates in winter 16 org. I want my custom build lightning components in the community page.

I have used implements="force:appHostable,flexipage:availableForAllPageTypes" but is not displaying in page editor.

1 Answer 1


Please check the latest documentation always when working on new features

For component to be available in community use the below

<aura:component implements="forceCommunity:availableForAllPageTypes">
<aura:attribute name="greeting" type="String" default="Hello" />
<aura:attribute name="subject" type="String" default="World" />

<div style="box">
  <span class="greeting">{!v.greeting}</span>, {!v.subject}!

To appear in the Community Builder, a component must implement the forceCommunity:availableForAllPageTypes interface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.