Standard Set Controller Basics

Standard set controllers join the best of two worlds—the flexibility of Visualforce pages and the built-in power of views and searches on the Force Platform.

You already know almost everything you need to create a Visualforce page that displays multiple records from a standard controller. The one new aspect for your page is an attribute for the page tag itself. The attribute is recordSetVar, and it takes a string value. This string is the variable name for the set of records that the standard set controller makes available to the page, which will be used as the value of an iterative data component, such as a data table.

1.
Create a new Visualforce page with a quick fix to a new page called JobApplications.
2. ...

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.