Back in February 2014, we wrote an article titled “Alert! Salesforce Event Notification Designs for Force.com Apps” that explores the many different ways you can add event notification to your Force.com applications. One approach uses a long polling Visualforce page that uses the Streaming API. Using long polling via the Streaming API has many advantages, including minimal database overhead and reduced API calls.
Using the Streaming API does require that users that receive the event notifications have proper permissions to both the objects being updated and the Streaming API PushTopic. We’ve updated the article to include steps to add a new user and profile that have the correct permissions necessary to receive the notifications.
About the Author
Dan Yu is a Technical Writer within the Technical Enablement team of the salesforce.com Customer-Centric Engineering group. The team’s mission is to help customers understand how to implement technically sound Salesforce solutions. Check out all of the resources that this team maintains on the Architect Core Resources page of Developer Force.