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
smart guy 2smart guy 2 

Standard List view controller - Apex Webservice

Hi All, I am trying to create a Webservice in Apex code which will return Views defined for a specific user for a Contact database.


I know this can be done easily in VF pages using listviewoptions filter. But I need to do it in Apex class. It seems it can be done using Starndard List controller but I am not finding a way to initialize List controller OR call a method which returns list views.


Any help would be greatly appeciated.