SPQuery not executing the query and returning all results

Today i faced a problem when I create a SPQuery object and when in get the result its giving all the records in the list. Finally i figure out that we don't need to put ... tags in to the query. As most of us using the Camel query builder we are used to use tag. Next time make sure to remove the .. tags from when you are using SPQuery objects. Hope this tip help you struggle in future.

Comments

Popular posts from this blog

How to get SharePoint dll version using JavaScript quickly

SharePoint App Only Registration Key Renewal script