Last Updated on June 1, 2022 by Rakesh Gupta
After the Spring’14 release Feed-Based Page Layouts is now generally available. This is similar to the case feed layout, which has been available for a while and is now added to some standard objects and custom objects. This feature is available for Account, Contact, Lead, Opportunity, and custom object records by creating a Feed-Based page layout. The feed-Based page layout has two separate views
1) Record’s feed
2) Details Page
Feed-Based Page Layouts offer a more efficient way of working with records. It doesn’t require users to scroll through the full page for the information they are not interested in to find what they’re looking for. In Simple words, Salesforce breaks down the Chatter feed track (Feed Tab) and records the detail page into different Tabs (Details Tab). Users can easily switch back and forth between the feed view, which includes the publisher and important events on the record, shown in sequential order, and the details view, which shows in-depth information about the record, including related lists.
The feed view in these layouts includes
In this demo, I used the Demo custom object.
- Tabs(Feed & Details).
- The Publisher Actions.
- Custom buttons & Links.
- The record feed includes activity on the record, such as comments others have made about it.
- A follow button ( ) or following indicator ( ) and a list of people who follow the record.
- Feed filters, let you choose which information from the feed you see.
- Visualforce Pages.
The Details view in these layouts includes
- Detail views show in-depth information about the record.
- Related lists.
- Custom Links and buttons (In Detail page).
- A follow button or following indicator and a list of people who follow the record.
- Visualforce Pages.
Configure Feed-Based Page Layout
In this demo, I used the Demo custom object. To Create a feed-based page layout for the demo object follow the below steps
- Be sure feed tracking is enabled for the object (Demo) on which you want to create a feed-based layout.
- Navigate to Name | Setup | App Setup | Customize | Chatter | Feed Tracking.
- Create a new page layout and select the Feed-Based Layout check-box.
- On the main page layout editor page, customize the publisher action to include the actions you want to make available to users, and add any custom buttons or links.
- Click Feed View in the page layout editor header to customize what appears on the feed page.
- It will redirect a new window, where you can customize the feed view page, this page includes
- Add custom components, which are Visualforce pages with the functionality you define.
- Choose where on the page custom buttons and links and standard components like the Follow button and followers list appear.
- Hide the standard sidebar.
- Choose which feed filters are available, and where they appear.
Finally, your feed view page looks like the above images.
- Click On Save, to Save Feed view, then again click on Save to save Feed Based Page layout.
- Finally, assign this page layout to user profiles.
I want to hear from you!
What is one thing you learned from this post? How do you envision applying this new knowledge in the real world? Feel free to share in the comments below.