Newer Version Available
Canvas Apps in the Chatter Feed
Force.com Canvas enables you to expose your canvas apps as feed items. The feed gives users information about what’s happening inside of Salesforce and information about records and groups they’re following.
- Post to the Chatter feed from a canvas app in the publisher or through the Chatter API.
- Display a canvas app inside a Chatter feed item.
When you create a canvas app Chatter feed item, it contains a thumbnail image, a link title, and a description. When the user clicks on the link or the description, the canvas app opens up in the feed. If the user clicks the link again, the content is collapsed, giving users a seamless experience for working in their feed.
For example, you might have a canvas app that allows a user to log their hours worked. You can now programmatically create a feed item that displays a canvas app which shows the user their currently logged hours.
In addition, the feed item could display actions depending on the current user. So the canvas app could then post a feed item to the user’s manager, and the manager could approve or deny the hours logged. Since the content is served from the canvas app, the developer has full control over the behavior.