Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Accessing Sharepoint Lists

  Asked By: Carter    Date: Jun 14    Category: Sharepoint    Views: 1170

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?



1 Answer Found

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

Using an endpoint of:

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.