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
amarnijeramarnijer 

How to get listview`s filter criteria using API

I am using metadata api to fetch all listviews. I can get it via listMetadata() call. I am not geting filter criterias for listview in the response XML. I am getting name of listViesw. Can any one tell me how to get filter criterias of a list view? or is there any way to get filters using the listview name which i got via listMetadata() call? Actually I want to get all records of any listview.

 

amarnijeramarnijer

HI I am using listMetadata() to get listview filters. I set CustomObject as <type> but It does not return anything aboput listview. Then I set ListView as <type>. It also giving listview names only. not the filter. Please anyone tell me how to get filters of listview using metadata?

NarenSoNarenSo

Hi There,

   Were you able to solve this issue? Did you find a way to get the filter criterion from listview filter?

 

Thanks,

Naren