You need to sign in to do that
Don't have an account?
ContenData field causing strange behavior
Hi,
While retreiving the FeedItems for a particular user from java code I came across a weird behaviour
I have 300 feedItem records for the mentioned userID
If I fire this query 'Select Id, ContentData from userProfileFeed with userID = 'xyz' ' I can see only 1 record returned
but If I remove the Contentdata field and fire the same query query I can see all 300 records
is this some bug ? Why does inclusion of Contendata field produce this behavior?
Any pointers would be of great help
As a workaround I have used queryMore to retrieve the records one by one but it slow and inefficient.
P.S
I have used both enterprise/partner wsdls and the open source wsc code and the same problem is seen.
Thanks
-Jimmy
queries that return binary data (such as contentData, or attachment or document body fields) return there results 1 row at a time due to payload size issues, and like any other query, if the results are larger than the batch size, you have to call queryMore to collect the rest of the results.