Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Accessing Sharepoint Lists

  Asked By: Carter Kerr         Date: Jun 14, 2005      Category: Sharepoint      Views: 189
 

OK so I've made some progress using the Web Services that sharepoint
provides such as Lists.asmx, This is nice, but I'm having trouble
getting to the sites list.

http://[Virtual Server]/SiteDirectory/Lists/Sites/AllItems.aspx

I finally ran the GetListCollections() webMethod and looked through the
resulting caml but I couldn't find the Sites list...

Any ideas on how to access this list?

Tagged:      

 

1 Answer Found

 
Answer #1       Answered By: Nathanial Mcclure          Answered On: Jun 14, 2005       

Using an endpoint of:
http://yourmachinenamehere/SiteDirectory/_vti_bin/Lists.asmx

and calling the following code will return a document that describes the items contained in the site directory:
XmlNode results = lists.GetListItems("Sites", null, null, null, null, null);

Check the doc out for more information on limiting the list  of returned entries to something a bit more manageable.

 
Didn't find what you were looking for? Find more on Accessing Sharepoint Lists Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].