Sample Application: Follow Project Team

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 ...

Get Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.