Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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 want a quick and easy way to follow all of the resources assigned to a consulting project.
This section walks through a sample implementation of a custom button called Follow Team, added to the Proj__c object’s layout. The button launches a Visualforce page that uses the standard Proj__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 immediately, without additional user action. The results of the following logic are displayed in a page message.