Salesforce List Controllers - Salesforce

What is Salesforce List Controllers?

In this section, we will debate List Controllers in Salesforce. At times, we want to view a given set of records from a Salesforce object by putting on filter criteria. This is attained by using list controllers which let you to make Visualforce pages that can show or act on a set of records. The standard list controllers can be used in the resulting set of objects.

  • Account
  • Asset
  • Campaign
  • Case
  • Contact
  • Contract
  • Idea
  • Lead
  • Opportunity
  • Order
  • Solution
  • User
  • Custom objects


We take the instance of contact object. We get the records from this object and show it using list controllers. To attain this, we make an apex page with the resulting code. The code creates a pageblock with column values matching the column names of the contact object.


Upon successively running the above code, we obtain the resulting output.


All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Salesforce Topics