Is it possible to validate a CAML query (to check whether it is correctly formed or not) before executing it in SharePoint? Otherwise, while executing the CAML query, it gives weird errors, which don't give any indication that, it is because of the improper CAML query.

1 Answer 1


A great tool to use to craft, test, and validate is the BIWUG CAML Designer. It can be found on their web site, http://www.biwug.be/resources. It has been highly invaluable when working with both client side and server side code.

  • A similar tool can be found at u2u.be/Software.
    – Todd
    May 26, 2016 at 21:25
  • I meant dynamically (at runtime) in code.
    – Ven
    May 27, 2016 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.