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

Get ListViews of a customobject and display them on cutomized visualforce page



We have a requirement wherein we want to retrieve all the  ListViews that have been created for a custom object , say MyObject__c and then display these ListViews on my visualforce page.


Metadata API provides ListView object to retrieve metadata information related to a ListView.


[Please have a look at Metadata api developer guide - and look for ListView in it. ]


But the question is how to access and get all the listviews of a custom object and display them on my visual force page ? 

This question seems to be a hot issue and I can find lot of posts related to this but with no responses.


Can somebody please provide any inputs, links or sample example on this.  



No response on it. Any clue/references will help. Is this functionality possible in current release?

Did you ever solve this or does anyone have any suggestions? It's exactly what I need too.