This is an oldie but a goodie, so kind of rehashing a two-year-old tip here for your pleasure. This is how we can add a list view to your Home Page, so you can see things like leads, opportunities, etc., right from the home page. We’ll use the Leads object in this example:
Go to Setup | Develop | Visualforce Pages
Click New and call it LeadsListView.
Clear contents in Visualforce Markup section and Copy and Paste to following text:
<apex:page showHeader="false" tabStyle="Lead"> <apex:includeScript value="//code.jquery.com/jquery-2.0.3.min.js"/> <apex:listViews type="Lead"/> <script type="text/javascript"> jQuery('a').each( function(){ if(this.className.indexOf('listItem') == -1) this.target = '_blank'; } ); navigateToUrl = function(a){ window.top.location.href = a; }; </script> </apex:page>
*If you choose to use another object other than Leads you can replace Lead with the API Name of the Object’s List View that you’re interested in.
If that is done then create a Home Page Component:
- Go to Setup | Customize | Home | Home Page Components
- Click on New
- You can name it: Lead List
- Type: Visualforce page
- Give it a height of 500
- Click Next
- Component Position: Wide (Right) Column
- Choose the LeadListView visual force page we created above.
- Save
Now, you have to add the same to the Home Page Layout.
- Go to Setup | Customize | Home | Home Page Layouts
- Click Edit
- From the Select Wide Components to Show check the option Lead List
- Click Next
- Decide the sort order for the Wide Area Components
- Save
The list view should now be on your Home Page!
What you get is a list (with scroll bars) of your leads, where you can change the views from there to limit what you see. You can even create new views to further limit the list.