function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hermitagehermitage 

Retrieving List views

Hi everyone,

I need to retrieve all the list views in a  object(not just for a particular user). How can I do this?. Any help will be appreciated.

Pradeep_NavatarPradeep_Navatar

To retrieving List views you can provide <apex:enhanced> component for a particular object.

 

For an example: 

 

<apex:enhancedList height="300" rowsPerPage="25" oncomplete="" customizable="false"/>

 

Hope this helps.