function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tk.servicetk.service 

EnhancedList: Chatter Follow Action

Hi,

 

We have a VF page with <apex:enhancedList type="Opportunity" /> implemented to display views selected.

 

Any idea why the Chatter Follow/Un-Follow button is missing from the Action column in the enhancedlist view?

Best Answer chosen by Admin (Salesforce Developers) 
MagulanDuraipandianMagulanDuraipandian

<apex:page standardController="opportunity">
    <chatter:feed entityId="{!opportunity.id}"/>
    <apex:enhancedList type="opportunity"/>
</apex>

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

SFDC Blog

SFDC Site

If this post is your solution, kindly mark this as the solution.

All Answers

MagulanDuraipandianMagulanDuraipandian

<apex:page standardController="opportunity">
    <chatter:feed entityId="{!opportunity.id}"/>
    <apex:enhancedList type="opportunity"/>
</apex>

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

SFDC Blog

SFDC Site

If this post is your solution, kindly mark this as the solution.

This was selected as the best answer
tk.servicetk.service

Hi Magu, thanks for your answer.

 

it works with entityId="{!$User.Id}"

 

Thanks again.

 

However, it doesnt seem to work. 

 

entityId expects an ID for a record and in my case, I need all records in the list to each have Follow/Un-follow buttons in the Action column. Do you have any idea?