One of the initial challenges with using Chatter is building up a relevant set of records to follow. Salesforce’s automatic following of owned records is a good start. But users of your Services Manager sample application would like a quick-and-easy way to follow all the resources assigned to a consulting project.
This section walks through a sample implementation of a custom button called Follow Team, added to the
Project object’s layout. The button launches a Visualforce page that uses the standard
Project__c controller and a controller extension. Because the page is shown when the user clicks the button, the
action attribute of the page invokes the custom controller code to perform the following logic ...