2

I have tried to check this at so many places but the amount of documentation around this seems to be so scattered that I am not getting any data around same,

So I have a Napili template community in which i custom lightning component is present.

Now I have created a custom lightning tab as well to be used in sf1, but now If I go to dropdown for communities, and select the community I can only see standard tabs and nothing custom So is there a way I can add Custom Lightning component tab to Communities in SF1?

Using

implements="forceCommunity:availableForAllPageTypes,force:appHostable"

3 Answers 3

0

As per the documentation,

Lightning Component tabs aren’t supported in Communities.

1
  • I think this line is mentioning about the general community and not the lightning community tab in sf1. right?
    – SEuser
    Commented Aug 8, 2016 at 12:08
0

Lightning Components tabs are not yet supported .The alternative for this would be to use a simple visualforce and create a tab .

Also SF1 on communities have lot of gaps currently requiring user to set my domain which can be not user friendly .

5
  • There is a line in the link that mentions "The tabs that you select also determine community navigation in Salesforce1.". I added the tabs in Manage --> Tabs --> and then my lightning component tab is available there. But on SF1 same community, it does not come. Is it a gap in documentation? or I am doing it wring?
    – SEuser
    Commented Aug 8, 2016 at 12:10
  • Thats for VF based communities .And clearly the doc says components tabs are not supported Commented Aug 8, 2016 at 12:20
  • The same navigation order seems to control for Napili based templates as well. For me even though the lightning component tabs are not coming, rest of the tabs follow the sequence specified by VF Tabs navigation order, anyways it looks like still there is a lot to be supported in SF1.
    – SEuser
    Commented Aug 8, 2016 at 12:23
  • Also can you post the interface that you have on lightning component ?Can you make that as a appHostable and see if that helps Commented Aug 8, 2016 at 12:27
  • Already using same - implements="forceCommunity:availableForAllPageTypes,force:appHostable"
    – SEuser
    Commented Aug 8, 2016 at 12:28
0

You can also try creating a visualforce page/Tab and add your component to that page using lightning:outApp.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .