• Pranali Lad 12
  • NEWBIE
  • 5 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,

Does any one know how to display Chatter feeds based on particular record(Account Record) using <forceChatter:feed>?

Here is the code :
<aura:component implements="force:appHostable">

    <forceChatter:feed type="Record" subjectId="001XXXXXXX"/>	   
 
</aura:component>

Here we are populating the parameters as mentioned in the lightning documentation.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_forceChatter_feed.htm
The subjectId is hardcoded with sample account Id.

But the result shows no feeds.

If we change the type to "News", then It shows all the feeds from current user.

We want it to be specific to the Account Id given.

Please help.

Regards,
Sagar Madkaikar