I am using this code

<chatter:feed entityId="{!accountId}"/>

to add chatter in salesforce it works but "Log a call" button does not work. can any one help me that to add a chatter in visual force page that will work fine.

<chatter:feed entityId="{!accountId}"/>
  • <chatter:feed entityId="{!accountId}"/>
    – Rehan
    Commented Oct 10, 2016 at 12:13
  • Please check in standard view of account whether log a call button works there. will just replicate the feed on standard view
    – Preya
    Commented Oct 10, 2016 at 13:30

1 Answer 1

<apex:page > 
    <chatter:feed entityId="{!$User.Id}"/> 

This will display the Chatter feed for the currently logged in user. The entityID here can be the ID of a standard object, custom object, user etc.

You must log in to answer this question.

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