SPQuery returning all items
Read OriginalThis article addresses a common issue in SharePoint development where the SPQuery object returns all items in a list instead of filtered results. It explains that manually built CAML queries work fine, but queries generated by tools like U2U CAML Query Builder may fail due to extra ViewFields and Query tags. The solution is to remove these tags from the generated query. The article provides code examples and emphasizes improved performance and correct filtering. It is relevant to IT professionals working with SharePoint and CAML queries.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet