Executing the following query
"Select C.Title FROM ContentVersion C WHERE ContentDocumentId IN (SELECT ContentDocumentId FROM ContentWorkspaceDoc WHERE ContentWorkSpaceId='".LIBRARY_ID."')"
which gives me a big list of files in the library with Id LIBRARY_ID
As soon as I add
"Select C.Title,C.VersionData FROM..."
I only get one record. Only one of 8 records is a link, so what foolishness am I performing to get this undesired behavior?
Does VersionData require some additional privileges?