vendredi 6 février 2015

Caml query when Title field contains Plus (+) sign



This CAML query is not working if Title field contains Plus (+) Sign.


My query is :



function createSACQuery(Title) {
var qry = new SP.CamlQuery();
qry.set_viewXml('<View Scope="RecursiveAll"><Query><Where><Eq><FieldRef Name="Title" /><Value Type="Text"><![CDATA[' + Title + ']]></Value></Eq></Where></Query></View>');
return qry;
}


My Title is Lorem Ipsum +








0 commentaires:

Enregistrer un commentaire