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
T-QwanT-Qwan 

How do i get List Views from SalesForce.com to my Web app?

I'm building a web app and trying to get lists out of SalesForce.com. The thing i am trying to do is make a List of Contacts that the user can make and then in my app they should be able to select a List of Contacts they made in Salesforce.com. So i made a view in contact's, but now i want to know what call i should make to the wsdl to get all the list views availeble for the user.

My wsdl object is:
public SforceService binding;

I already checked all the documentation i could find and the forum's and could only find one thread with almost the same question, but could not find a solution.
DokerDoker

use metadata API retrive call

var resx = meta.retrieve(new RetrieveRequest { apiVersion = 14.0, unpackaged = new Package() { fullName = "namespace_object__c" } });

CheckStatus while not done

When done get results

var csr = meta.checkRetrieveStatus(resx.id);

access zipFile

csr.zipFile

decompress it using SharpZipLib
 
read file containing xml structure of sObject
 
navigate the xml file to find right section.
 
This is a harder one, sorry.