2

I want to inlcude chatter and knowledge standard functionality in a lightning component. Is this possible? Currently there is a new tag in lightning for including chatter

<forceChatter:feed type="News" />

But this solution is not working for browser lightning application. If there is any way to include the standard tabs that will also do. Can anyone help me with this?

1 Answer 1

1

You have defined a wrong type "News" It is necessary to provide correct feed type.

Try with following feed type. It will show feeds from all chatter groups.

<aura:component >
    <forceChatter:feed type="groups"/>
</aura:component>

enter image description here

5
  • Ya, I did make a mistake in the type attribute. But now that I corrected the code, its still not displaying the feeds. The screenshot u have put here - is this component included in a standalone app or Salesforce1? Coz I am getting the following error in console when I tried the type="groups" : Uncaught TypeError: Cannot read property 'canvas' of undefined
    – VedaP
    Commented Jun 4, 2015 at 9:09
  • @VedaP it is a lightning component.
    – Ashwani
    Commented Jun 4, 2015 at 9:49
  • And have you included this in a lightning application or exposed this as a lightning component tab in Salesforce1? Thanks
    – VedaP
    Commented Jun 4, 2015 at 14:57
  • @VedaP It is exposed as lightning page tab and component is included in that lightning page.
    – Ashwani
    Commented Jun 4, 2015 at 15:00
  • Ohh thanks. Yes lightning page is working, But my requirement is that it should be included in the lightning application which we create from developer console. In short a browser app. Can you help me in this approach?
    – VedaP
    Commented Jun 5, 2015 at 5:30

You must log in to answer this question.

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