+ Start a Discussion

How to pass selected records from one page to another VFPAGE



i have datatable,in one column i have check boxes and in another column i have Accountname, My requirement is i need to pass only selected records through checkbox are pass to another page and displayed there.


Can u anybody Help Me




Ankit AroraAnkit Arora

One way is to pass all the ids of selected records in url, but if there are too many records selected then create a custom object in which when you are redirecting to next page all ids of selected record will get inserted and then after you are redirected fetch those record ids from that custom object and use it. You can also delete the record after using it.



Ankit Arora