Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: CAMLQuery filter not working

$
0
0
It could be as simple as your quotes. You're using double quotes inside double quotes without escaping them. Two options:
            CAMLQuery: "<Query><Where><Eq><FieldRef Name=\"Status\" /><Value Type=\"Choice\">Closed</Value></Eq></Where></Query>",
or
            CAMLQuery: "<Query><Where><Eq><FieldRef Name='Status' /><Value Type='Choice'>Closed</Value></Eq></Where></Query>",
I tend to use the latter.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>