Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home Database Salesforce Apex & Visualforce Simple Visualforce List View Tab

Simple Visualforce List View Tab

You can create a custom tab in Salesforce that shows a subset of records in an enhanced list. No code needed!!

Let's say you have a subset of Accounts (e.g. partners) or Opps (e.g. projects) or Campaigns (e.g. events) and you want a separate tab where you can see only that filtered set.

Super easy - just create a new Page with an "enhanced list" component:

<apex:page title="NPower Consulting Projects" tabStyle="Opportunity"  >
<apex:enhancedList id="eList" customizable="true" height="600" listid="00B50000005l8ab" / >
</apex:page>

Here is a link to the new Consulting Projects page I created in the NPower Seattle instance:

https://c.na3.visual.force.com/apex/projects

Only thing I would like to add -- although this might require a bit of apex coding -- is a way to filter those records further.

Document Actions

Comments (0)

« February 2012 »
February
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
272829