Navneet Chanalia's SharePoint Blog
Showing posts with label
CDATA
.
Show all posts
Showing posts with label
CDATA
.
Show all posts
Saturday, 31 March 2018
CAML Query : How to query for SharePoint list items with special characters in value?
Use CDATA like below:
var camlQuery="<Query><Where><Eq><FieldRef Name='Column Name'/>
<Value Type='Text'><![CDATA[" +
decodeURI(getParameterByName('queryStringParameter',window.location.href))
+ "]]></Value>
</Eq></Where></Query>";
Older Posts
Home
Subscribe to:
Posts (Atom)