2

Hi we are using chatter: feedwithfollowers like this below:

<chatter:feedwithfollowers entityid="{!$User.Id}"></chatter:feedwithfollowers>

however this shows everything posted into salesforce, im not really sure if its possible to have the feedwithfollowers visualforce/custom object specific??

3

You can definitely do this. All you need to do is change the EntityId to point to your specific custom object:

<chatter:feedwithfollowers entityid="{!customObject.Id}"></chatter:feedwithfollowers>

Documentation:

Entity ID of the record for which to display the feed; for example, Contact.Id

  • i tried doing entityid="{!productcomponent__c.id}" and {!productcomponent__r.id}" both come back unknown markup? – ClevelandDan Aug 18 '14 at 14:05
  • 1
    You need to make sure that productcomponent__c is a variable in your controller/extension. Also, make sure that you have feed tracking turned on for that object type. – Jesse Altman Aug 18 '14 at 14:15
  • 1
    Thanks noticed id called productcomponent something entirely different in the controller, looong day thats fixed it :) – ClevelandDan Aug 18 '14 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.