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
Varsha HariharanVarsha Hariharan 

Is it possible to view the query results in a listview?

I have a SOQL query result that is populated using apex page block table. Is there any possible way that the Query result set is put into the List view? if so, kindly provide an example
Patcs_1Patcs_1
Hi Varsha

You can use standard set controller to achive this, below is the example link which might be helpful for you.

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/apex_pages_standardsetcontroller.htm

Thanks

Please mark this as a solution, if its answered your question.