I have been tasked to find all the documents in a 2010 SharePoint site. I also need to identify the "Modified By and Date" of each document. I am using 2010 Access and coding in VBA. I have tired using the GetListItems with RecursiveAll query. First go around the nodes provided a parcel list of documents and folders at the first level. I tried using the GetListItems with RecursiveAll query on the folders to obtain their documents but failed. The routine did not like the URL and ID of each folder. The following is the code I have tried, supplying the envelop a ID and the Call a URL.
ListName = "{D220F782-6D73-4DEE-B462-75FA253CF379}"
my_envelope = "<?xml version=""1.0"" encoding=""utf-8""?>" & _
"<soap12:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema- instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:soap12=""http://www.w3.org/2003/05/soap-envelope"">" & _
"<soap12:Body>" & _
"<GetListItems xmlns=""http://schemas.microsoft.com/sharepoint/soap/"">" & _
"<listName>" & ListName & "</listName>" & _
"<viewName></viewName>" & _
"<query></query>" & _
"<viewFields></viewFields>" & _
"<rowLimit></rowLimit>" & _
"<QueryOptions>" & _
"<IncludeMandatoryColumns>TRUE</IncludeMandatoryColumns>" & _
"<ViewAttributes Scope=""RecursiveAll""/>" & _
"<DateInUtc>TRUE</DateInUtc>" & _
"</QueryOptions>" & _
"<webID></webID>" & _
"</GetListItems>" & _
"</soap12:Body>" & _
"</soap12:Envelope>"
Call XMLhttp.Open("POST", Site_Url, False, userid, password)
Any help would be greatly appreciated on how to get all the documents in a 2010 Sharepoint site with (Modified By and Date).