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
Amol Jadhav 34Amol Jadhav 34 

Is there a way to get all the records from a list view using SOQL?

I would like to get all the records from a particular list view using SOQL in Apex, I don't like to use standard controller or any sort of cotroller 
Aakriti Goyal 7Aakriti Goyal 7
You can use metadata API to get records from a list view
/services/data/v40.0/sobjects/[sObjectType]/listviews/[listViewId]/describe
Amol Jadhav 34Amol Jadhav 34
I have a one version which is using API but API has limitations so I have moved to vf & controller