You need to sign in to do that
Don't have an account?

how to get all the record ids of listview?
Hi
Listview contains group of records as per filter criteria. Now I want to crate a visualforce page in that first selet the list view based on the list vew all records of that list view will be updated.
simply , update the records based on the list view selection.
any one suggest me how to retrieve record ids of list view in apex
Hi,
You have to put <apex:inputcheckbox/> tag in your Visualforce page.
and get selected ids in one string(use <apex:inputHidden value="{!strSelectedIds}"/> tag) variable using javascript.
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator
My Blog:- http://mrjavascript.blogspot.in/
See below example.
VF Page:
Controller:
Here obj has all relected ids. And once you execute controller.getSelected() in vf page you will get only selected records using {!accounts}