0

This may come across as a novice question, but I was hoping to gain some direction or advice in how to query SharePoint 2013 to retrieve the metadata (document properties, including the Document ID GUID) around each of the documents stored in a specific document library. I do not have access to the Content SQL Server database, so I was hoping there would be some sort of web service I could leverage to get this information. In the past, I have used the /_vti_bin/ListData.svc web service to retrieve information from a SharePoint list in XML format. Is there a similar web service I could use to retrieve this information?

Some of the kind of data I am hoping to have returned is the library, uploader (created by), document type, and other custom columnar properties.

  • Are you interested in REST/JSON? – Amal Hashim Nov 24 '14 at 19:29
  • Yes, a REST web service that returns JSON would be more than great. – Data Medici Nov 24 '14 at 19:30
0

For REST you can refer this msdn article

http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx

A typical REST call look as below

http://server/site/_api/lists/getbytitle('listname')

You can use ODATA protocol for filter, select, expand, order

http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx

enter image description here

  • Thank you Amal! Exactly what I was looking for. Returned in XML format, now just have to handle some further parsing. Thanks again. – Data Medici Nov 24 '14 at 19:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.