2

Summarizing the "discussion" from the comments above: The codeproject article referenced in the question is apparently using either an incorrect or outdated schema for the CAML. When you set the ViewXml property of the CamlQuery, the top-level XML element should be the <View>. The <Query> is one of the optional child elements. SharePoint was ...


1

This is really more of a general JavaScript question than SharePoint-specific, but the easiest way is just to use an array variable: var itemprices = []; and then push the values as you find them itemprices.push(oListItem.get_item('Price'));, and then you can loop through your array when you want to do something with each Price. Alternatively, you could use ...


1

Try using your code something like below: var oListItems; function GetAllListItems() { // You can optionally specify the Site URL here to get the context // If you don't specify the URL, the method will get the context of the current site // var clientContext = new SP.ClientContext("http://MyServer/sites/SiteCollection"); clientContext = ...


1

Try using below query in ViewXml (Use internal name of Processed field): <View> <Query> <Where> <Contains> <FieldRef Name='Processed'/><Value Type='Text'>Not Processed</Value> </Contains> </Where> </Query> </View> You can also ...


Only top voted, non community-wiki answers of a minimum length are eligible