Using Enhanced Lists in Visualforce page

By | May 3, 2017

Salesforce provides a way to create List Views on any Standard or Custom object for easier access of desired records. We can create List view on any object by clicking on its tab. But along with this, Salesforce also provides a flexibility to display these List Views on any custom visualforce page. To achieve this, Salesforce provides a dedicated tag named as ‘’ which allows user to display either all List Views created on an Object or any specific List view by specifying its Id. Whenever user does not specify any list id, it will display picklist of all the List Views created on an Object.

Please find below code snippet to demonstrate the same:

Code snippet to display all List Views on VF page

Code snippet to display all List Views on VF page

The result of the above code snippet looks like:

Result of code snippet to display all List Views on VF page

Result of code snippet to display all List Views on VF page

Please find below code snippet to display any specific List View on visualforce page.

Code snippet to display any specific List View on VF page

Code snippet to display any specific List View on VF page

The result of the above code snippet looks like:

Result of code snippet to display any specific List View on VF page

Result of code snippet to display any specific List View on VF page

We can also apply customizable properties to List views like rowsPerPage which determines the number of rows to be displayed on page, height and width of the list etc.
Thus, we can display desired List Views on visual force page in a customized way.

About Us
Greytrix as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce integration with Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data Migration, Integrated App development, Custom App development and Technical Support to business partners and end users.

Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star app listed on Salesforce AppExchange.

For more information, please contact us at salesforce@greytrix.com. We will be glad to assist you.

Related Posts