This project has moved. For the latest updates, please go here.

Retrieving Metadata from WSS v3 Library Objects

Nov 28, 2013 at 3:57 PM
I am trying to extract and use the metadata associated with objects in a Sharepoint library, using the $(xData.responseXML).SPFilterNode("z:row").each(function() function. I can pull data from Lists without any issues but the Library is causing me some headaches. Is this at all possible, please or am I chasing a ghost ?
Dec 3, 2013 at 1:05 PM
It works the same way in both lists and document libraries. However, the document library doesn't have the exact same columns set as a list. Before filtering the z:row component, take a look at the raw XML to see what's available.

Dec 3, 2013 at 2:45 PM
Also read the Tips section in the GetListItems docs:

Dec 3, 2013 at 11:12 PM
Geoff & Marc, Thanks for the responses. On checking my CAML query I had made a fundamental mistake, the column 'Name' isn't really called Name !! I removed all the columns back to just Title and it worked fine, then correctly added the required columns and hey presto it works as expected.

Thanks again for the great service.