You need to sign in to do that
Don't have an account?
Sagar Madkaikar
How to display Chatter Feed for particular selected account in Lightning Components using <forceChatter:feed>
Hi,
Does any one know how to display Chatter feeds based on particular record(Account Record) using <forceChatter:feed>?
Here is the code :
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
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
Were you able to find a solution for this? I'm running into a similiar issue where the tag results in no feed being shown on the community.
Thanks,
Pranali
Try this way
<aura:component implements="force:appHostable,force:hasRecordId,force:lightningQuickAction">
<forceChatter:feed type="Record" subjectId="{!v.recordId}"/>
</aura:component>
Thanks,
Nitish Singh
Hi @Hermant
How can you fix to show the feed for a particular account?? For me looks that have some bug.
I'm using a component like the following one and its not showing me.
JsController:
Running my test to showing up just above chatter is right. Show the correct accountId.
Do you have an idea how to fix it? Thanks..