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
Ram ChaturvediRam Chaturvedi 

How can we access custom list view's selected record in custom controller class .

I have a vf page have a custom list view now in custom controller class i want to access those records which are selected on vf page.
James LoghryJames Loghry
If you aren't utilizing the StandardSetController for your custom list view, you should be.  The documentation can be found here: https://www.salesforce.com/us/developer/docs/pages/Content/apex_pages_standardsetcontroller.htm

I
n particular, take a look at the "getSelected" method.  

Here's another document that shows the getSelected method in action: https://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_massupdate.htm
AshlekhAshlekh
Hi,

I tried to find solution for you below are the links which helps you

1) http://salesforce.stackexchange.com/questions/24543/create-a-list-view-filter-via-apex

2) http://salesforce.stackexchange.com/questions/32067/custom-list-view-to-display-vf-page

3) http://www.shivasoft.in/blog/salesforce/listview-filter-in-apex-with-paging-and-navigation/


If it helps you then please mark as solution.