On observing standard salesforce pages like "All Contacts" view, we note a column called "Action" containing three actions namely,
1. Editing a record
2. Deleteing a record
3. Following or Unfollowing a record as shown below

I have demonstrated 1 and 2 in my previous posts.
Following/Unfollowing a record can be made possible using the tag <chatter:follow>

1. Editing a record
2. Deleteing a record
3. Following or Unfollowing a record as shown below
I have demonstrated 1 and 2 in my previous posts.
Following/Unfollowing a record can be made possible using the tag <chatter:follow>
The code snippet will be something like,
<apex:pageBlockTable value="{!Contacts}" var="con">
<chatter:follow entityId="{!con.Id}"/>
.
.
.
</apex:pageBlockTable >
No comments:
Post a Comment